From bbe1cfb2df5e1d960b625f07b88072de47167d03 Mon Sep 17 00:00:00 2001 From: ChinYikMing Date: Fri, 5 Apr 2024 23:33:53 +0800 Subject: [PATCH] CI: Tweak WebAssembly CI event 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 --- .github/workflows/deploy-wasm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-wasm.yml b/.github/workflows/deploy-wasm.yml index a1b01654..9241528f 100644 --- a/.github/workflows/deploy-wasm.yml +++ b/.github/workflows/deploy-wasm.yml @@ -1,7 +1,7 @@ name: WebAssembly on: - pull_request: + pull_request_target: branches: - master types: