File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 77# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#issue_comment
88# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#schedule
99# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#issue_comment
10+ # - https://github.com/actions/create-github-app-token
1011# - https://github.com/lee-dohm/no-response
1112
1213---
1819 schedule :
1920 # five minutes after the hour, every hour
2021 - cron : 5 * * * *
21- permissions :
22- issues : write
2322jobs :
2423 no-response :
2524 runs-on : ubuntu-latest
2625 steps :
26+ - id : bot-token
27+ name : Get bot token
28+ uses : actions/create-github-app-token@v1.9.3
29+ with :
30+ app-id : ${{ secrets.BOT_APP_ID }}
31+ private-key : ${{ secrets.BOT_PRIVATE_KEY }}
2732 - id : close-issues
2833 name : Closes issues missing actionable info
2934 uses : lee-dohm/no-response@v0.5.0
3540 you have or find the answers needed so next steps, if any, can be determined.
3641 daysUntilClose : 14
3742 responseRequiredLabel : status:awaiting-answers
38- token : ${{ secrets.GITHUB_TOKEN }}
43+ token : ${{ steps.bot-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments