We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lock-inactive-threads
bot-token
1 parent 7c88b69 commit 0c6f1eeCopy full SHA for 0c6f1ee
.github/workflows/lock-inactive-threads.yml
@@ -2,6 +2,7 @@
2
#
3
# References:
4
5
+# - https://github.com/actions/create-github-app-token
6
# - https://github.com/dessant/lock-threads
7
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#schedule
8
@@ -14,6 +15,12 @@ jobs:
14
15
lock-inactive-threads:
16
runs-on: ubuntu-latest
17
steps:
18
+ - id: bot-token
19
+ name: Get bot token
20
+ uses: actions/create-github-app-token@v1.9.3
21
+ with:
22
+ app-id: ${{ secrets.BOT_APP_ID }}
23
+ private-key: ${{ secrets.BOT_PRIVATE_KEY }}
24
- id: lock
25
name: Lock inactive issues and pull requests
26
uses: dessant/lock-threads@v5.0.1
0 commit comments