diff options
Diffstat (limited to '.github/workflows/cron-lock.yml')
-rw-r--r-- | .github/workflows/cron-lock.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/cron-lock.yml b/.github/workflows/cron-lock.yml new file mode 100644 index 0000000000..e11869058c --- /dev/null +++ b/.github/workflows/cron-lock.yml @@ -0,0 +1,21 @@ +name: cron-lock + +on: + schedule: + - cron: "0 0 * * *" # every day at 00:00 UTC + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + +concurrency: + group: lock + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v4 + with: + issue-inactive-days: 45 |