Skip to content

Commit

Permalink
action: fix checkout on pull_request_target
Browse files Browse the repository at this point in the history
The `pull_request_target` trigger will checkout the master branch
codes strictly, but we must use the PR codes for the smoke test.

Signed-off-by: Yan Song <[email protected]>
  • Loading branch information
imeoer authored and jiangliu committed Apr 25, 2023
1 parent 9612a2a commit ce05676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["**", "stable/**"]
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.svg', '**/docs/**' ]
pull_request_target:
pull_request:
branches: ["**", "stable/**"]
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.svg', '**/docs/**' ]
schedule:
Expand Down

0 comments on commit ce05676

Please sign in to comment.