hass-core/.github/workflows/lock.yml
Sebastian Lövdahl bb671830a6
Run scheduled workflows only in the home-assistant organization (#64085)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-20 12:54:54 +01:00

21 lines
541 B
YAML

name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 * * * *"
jobs:
lock:
if: github.repository_owner == 'home-assistant'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-inactive-days: "30"
exclude-issue-created-before: "2020-10-01T00:00:00Z"
issue-lock-reason: ""
pr-inactive-days: "1"
exclude-pr-created-before: "2020-11-01T00:00:00Z"
pr-lock-reason: ""