diff options
author | David Lord <davidism@gmail.com> | 2023-01-09 15:09:02 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2023-01-09 15:09:02 -0800 |
commit | 03fac16fd8723418b6e8623c2fb0bec616aff677 (patch) | |
tree | e30ab1db68d98810c483f3a8f761c381b4747e32 /.github/workflows/lock.yaml | |
parent | 1b07d600ee4eb475da2a52d84c3c81ecd59b6f7d (diff) | |
parent | 64e1c36851cb615276f631c9ee8bbd95f6e6c39f (diff) | |
download | markupsafe-03fac16fd8723418b6e8623c2fb0bec616aff677.tar.gz |
Merge branch '2.1.x'
Diffstat (limited to '.github/workflows/lock.yaml')
-rw-r--r-- | .github/workflows/lock.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml index c771673..20bec85 100644 --- a/.github/workflows/lock.yaml +++ b/.github/workflows/lock.yaml @@ -1,15 +1,25 @@ name: 'Lock threads' +# Lock closed issues that have not received any further activity for +# two weeks. This does not close open issues, only humans may do that. +# We find that it is easier to respond to new issues with fresh examples +# rather than continuing discussions on old issues. on: schedule: - cron: '0 0 * * *' +permissions: + issues: write + pull-requests: write + +concurrency: + group: lock + jobs: lock: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v4 with: - github-token: ${{ github.token }} issue-inactive-days: 14 pr-inactive-days: 14 |