Skip to content

Commit a78dd3c

Browse files
chore: Use pull_request_target event fot scripts
pull_request event runs with changes from PR and thus uses a read-only token which cannot comment or close PRs from forks Using pull_request_target runs workflows from the target branch and thus remains secure and runs with write access token
1 parent 30674e3 commit a78dd3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Scripts"
22

33
on:
4-
pull_request:
4+
pull_request_target:
55

66
jobs:
77
dependabot-approve:

0 commit comments

Comments
 (0)