diff options
-rw-r--r-- | .github/lock.yml | 3 | ||||
-rw-r--r-- | .github/workflows/lock.yml | 17 |
2 files changed, 17 insertions, 3 deletions
diff --git a/.github/lock.yml b/.github/lock.yml deleted file mode 100644 index f27329d..0000000 --- a/.github/lock.yml +++ /dev/null @@ -1,3 +0,0 @@ -daysUntilLock: 30 -lockComment: false -setLockReason: false diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 0000000..b220cfb --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,17 @@ +name: 'Lock threads' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + github-token: ${{ github.token }} + issue-lock-inactive-days: '30' + issue-lock-reason: '' + pr-lock-inactive-days: '30' + pr-lock-reason: '' |