Skip to content

Commit 761f577

Browse files
committed
Fix PR welcome action
Was failing because GITHUB_TOKEN on regular `pull_request` events have read-only access (for security). Change to `pull_request_target` allows the action to run with full permissions (since it only uses workflows from the target branch).
1 parent c26b1a7 commit 761f577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr_welcome.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: PR Greetings
22

3-
on: [pull_request]
3+
on: [pull_request_target]
44

55
jobs:
66
greeting:

0 commit comments

Comments
 (0)