Skip to content

Commit a7d64fe

Browse files
committed
chore(ci): add workflow to lock old issues
1 parent cf801d8 commit a7d64fe

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/lock.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Lock Closed Issues'
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 1 '
6+
workflow_dispatch: # For manual cleanup
7+
8+
permissions:
9+
issues: write
10+
11+
concurrency:
12+
group: lock
13+
14+
jobs:
15+
action:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: dessant/lock-threads@v3
19+
with:
20+
process-only: 'issues'

0 commit comments

Comments
 (0)