Skip to content

Commit 5431c0c

Browse files
committed
ci(workflows): [lock-inactive-threads] add missing bot-token step
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 1c02bdf commit 5431c0c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/lock-inactive-threads.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#
33
# References:
44
#
5+
# - https://github.com/actions/create-github-app-token
56
# - https://github.com/dessant/lock-threads
67
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#schedule
78

@@ -14,6 +15,12 @@ jobs:
1415
lock-inactive-threads:
1516
runs-on: ubuntu-latest
1617
steps:
18+
- id: bot-token
19+
name: Get bot token
20+
uses: actions/[email protected]
21+
with:
22+
app-id: ${{ secrets.BOT_APP_ID }}
23+
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
1724
- id: lock
1825
name: Lock inactive issues and pull requests
1926
uses: dessant/[email protected]

0 commit comments

Comments
 (0)