use ACTIONS_BOT_TOKEN in tutorials workflow
MODIFY
.github/workflows/tutorials.yaml
.github/workflows/tutorials.yaml
@@ -43,7 +43,10 @@ jobs:
if: ${{ github.event_name == 'repository_dispatch' }}
with:
sha: ${{ github.event.client_payload.pull_request.head.sha }}
- token: ${{ secrets.GITHUB_TOKEN }}
+ # can't use default token
+ # https://github.community/t/create-a-check-run-details-url-is-not-being-set/166002/4?u=bkwhite
+ # https://github.com/LouisBrunner/checks-action/issues/18#issuecomment-970312052
+ token: ${{ secrets.ACTIONS_BOT_TOKEN }}
name: Test Notebook ${{ matrix.nb-path }}
status: in_progress
# this seems to be broken
@@ -102,7 +105,7 @@ jobs:
if: ${{ always() && steps.start-check.outputs.check_id }}
with:
sha: ${{ github.event.client_payload.pull_request.head.sha }}
- token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.ACTIONS_BOT_TOKEN }}
check_id: ${{ steps.start-check.outputs.check_id }}
status: completed
conclusion: ${{ job.status }}

use ACTIONS_BOT_TOKEN in tutorials workflow