[github] update lock config.

This commit is contained in:
Dave Davenport 2024-03-15 10:29:04 +01:00
parent 81e06d7157
commit 94f8c88336
1 changed files with 28 additions and 19 deletions

View File

@ -1,32 +1,41 @@
name: 'Lock threads' name: 'Lock Threads'
on: on:
schedule: schedule:
- cron: '0 0 * * *' - cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
discussions: write
concurrency:
group: lock-threads
jobs: jobs:
lock: action:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v5 - uses: dessant/lock-threads@v5
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} process-only: 'issues'
issue-lock-inactive-days: '31' github-token: ${{ github.token }}
issue-exclude-created-before: '' issue-inactive-days: '31'
issue-exclude-labels: '' exclude-issue-created-before: ''
issue-lock-labels: '' exclude-issue-created-after: ''
issue-lock-reason: 'resolved' exclude-issue-created-between: ''
issue-lock-comment: > exclude-issue-closed-before: ''
This issue has been automatically locked since there exclude-issue-closed-after: ''
has not been any recent activity after it was closed. exclude-issue-closed-between: ''
Please open a new issue for related bugs. include-any-issue-labels: ''
pr-lock-inactive-days: '31' include-all-issue-labels: ''
pr-exclude-created-before: '' exclude-any-issue-labels: ''
pr-exclude-labels: '' add-issue-labels: ''
pr-lock-labels: '' remove-issue-labels: ''
pr-lock-reason: 'resolved' issue-comment: >
pr-lock-comment: >
This pull request has been automatically locked since there This pull request has been automatically locked since there
has not been any recent activity after it was closed. has not been any recent activity after it was closed.
Please open a new issue for related bugs. Please open a new issue for related bugs.
process-only: '' issue-lock-reason: 'resolved'
log-output: false