diff options
author | David Lord <davidism@gmail.com> | 2023-01-09 15:07:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 15:07:29 -0800 |
commit | 64e1c36851cb615276f631c9ee8bbd95f6e6c39f (patch) | |
tree | dc30f29e4172429d599fb6f260829624c38597a9 /.github/workflows/lock.yaml | |
parent | 315acb026722dee5dffef2e0ea8577b9f421c208 (diff) | |
parent | a74f71cdece261c07cdf5cd24e2b7b8d7ba0f160 (diff) | |
download | markupsafe-64e1c36851cb615276f631c9ee8bbd95f6e6c39f.tar.gz |
update tested python versions, and workflows (#345)
Diffstat (limited to '.github/workflows/lock.yaml')
-rw-r--r-- | .github/workflows/lock.yaml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml index b4f7633..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@v3 + - uses: dessant/lock-threads@v4 with: - github-token: ${{ github.token }} issue-inactive-days: 14 pr-inactive-days: 14 |