Setting the correct access token when running the command dispatch
MODIFY
.github/workflows/command_dispatch.yml
.github/workflows/command_dispatch.yml
@@ -11,7 +11,7 @@ jobs:
- name: Run Build
uses: peter-evans/slash-command-dispatch@v2
with:
- token: ${{ secrets.REPO_ACCESS_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
commands: run-example-tests
permission: write

Setting the correct access token when running the command dispatch