Skip to content

Commit 312a79b

Browse files
authored
chore: PR-check: don't run it using pull_requset_target as it may suffers secret leak (#4615)
Signed-off-by: Tao He <[email protected]>
1 parent e512820 commit 312a79b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: PR Check
22

33
on:
4-
pull_request_target:
4+
pull_request_review:
5+
types: [submitted]
56
branches:
67
- main
78

0 commit comments

Comments
 (0)