Skip to content

Commit 0221db4

Browse files
ci: Automatically lock issues and PRs older than a year (#3422)
1 parent cb8c5ea commit 0221db4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/stale.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
schedule:
1010
- cron: '0 0 * * *'
1111

12+
permissions:
13+
issues: write
14+
pull-requests: write
15+
1216
jobs:
1317
stale:
1418
runs-on: ubuntu-latest
@@ -26,3 +30,5 @@ jobs:
2630
exempt-issue-labels: enhancement
2731
exempt-pr-labels: keep-open
2832
operations-per-run: 1000
33+
- name: Lock closed issues and PRs
34+
uses: dessant/lock-threads@v5

0 commit comments

Comments
 (0)