Skip to content

Commit

Permalink
CI: Tweak WebAssembly event (#403)
Browse files Browse the repository at this point in the history
To access the secrets variable (or token) in pull request event,
it is necessary to use pull_request_target instead of pull_request.

Close: #400
  • Loading branch information
ChinYikMing authored Apr 5, 2024
1 parent 44be737 commit 3fe3d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wasm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: WebAssembly

on:
pull_request:
pull_request_target:
branches:
- master
types:
Expand Down

0 comments on commit 3fe3d6c

Please # to comment.