Skip to content

Commit

Permalink
CI: Specify token when checking out demo
Browse files Browse the repository at this point in the history
The existing WebAssembly CI works on my repository, but it is failed
here. This is very strange but we still have to solve it.

Combining some dicussion in github-push-action's issue and my own
thought, when checking out demo, the persist-credentials is set to
false, thus the token used for further action should be specified.

See issue: #400
  • Loading branch information
ChinYikMing committed Apr 5, 2024
1 parent ddda5d5 commit 84dc48e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
token: ${{ secrets.RV32EMU_DEMO_TOKEN }}
repository: sysprog21/rv32emu-demo
- name: Create local changes
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
Expand Down

0 comments on commit 84dc48e

Please sign in to comment.