diff options
author | Juan Luis Cano RodrÃguez <hello@juanlu.space> | 2021-07-07 16:27:47 +0300 |
---|---|---|
committer | Juan Luis Cano RodrÃguez <hello@juanlu.space> | 2021-07-07 16:33:59 +0300 |
commit | f1d03d7114e354a0d74a235b8d1ce713e18418bd (patch) | |
tree | cc8023feee0e5111e8ad7df30da8ea6a6d0ebde3 /.github | |
parent | b09acabf0010ca95bab6f89012bb0e367cc1248e (diff) |
Add bot to lock inactive closed issues and pull requests
Close #9237.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lock.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml new file mode 100644 index 000000000..bd02a7f7b --- /dev/null +++ b/.github/workflows/lock.yml @@ -0,0 +1,18 @@ +name: 'Lock old threads' + +on: + schedule: + - cron: '0 0 * * *' + +permissions: + issues: write + pull-requests: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/lock-threads@v2 + with: + issue-lock-inactive-days: '30' + pr-lock-inactive-days: '30' |