Skip to content

Commit d4c1cc7

Browse files
fix: Correct GITHUB_TOKEN usage in lock-threads wo
1 parent e1c5023 commit d4c1cc7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/lock-threads.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Lock Threads"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: "Lock Threads"
12+
uses: dessant/lock-threads@v4
13+
with:
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
issue-lock-inactive-days: '30'
16+
pr-lock-inactive-days: '30'

0 commit comments

Comments
 (0)