Skip to content

Commit 4a9afdf

Browse files
committed
set workflow permissions
1 parent c6e76b8 commit 4a9afdf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/lock.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ on:
88
schedule:
99
- cron: '0 0 * * *'
1010

11+
permissions:
12+
issues: write
13+
pull-requests: write
14+
15+
concurrency:
16+
group: lock
17+
1118
jobs:
1219
lock:
1320
runs-on: ubuntu-latest
1421
steps:
15-
- uses: dessant/lock-threads@v3
22+
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
1623
with:
17-
github-token: ${{ github.token }}
1824
issue-inactive-days: 14
1925
pr-inactive-days: 14

0 commit comments

Comments
 (0)