Lock closed issues after 60 days
This commit is contained in:
parent
0c88cc8bad
commit
2b84439413
1 changed files with 26 additions and 0 deletions
26
.github/workflows/lock_old_issues.yaml
vendored
Normal file
26
.github/workflows/lock_old_issues.yaml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
name: "Lock Old Issues"
|
||||||
|
|
||||||
|
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: '60'
|
||||||
|
# issue-exclude-created-before: ''
|
||||||
|
# issue-exclude-labels: ''
|
||||||
|
# issue-lock-labels: ''
|
||||||
|
# issue-lock-comment: ''
|
||||||
|
# issue-lock-reason: 'resolved'
|
||||||
|
# pr-lock-inactive-days: '365'
|
||||||
|
# pr-exclude-created-before: ''
|
||||||
|
# pr-exclude-labels: ''
|
||||||
|
# pr-lock-labels: ''
|
||||||
|
# pr-lock-comment: ''
|
||||||
|
# pr-lock-reason: 'resolved'
|
||||||
|
process-only: 'issues'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue