Skip to content

Commit 807c388

Browse files
committed
Use pull_request instead of pull_request_target because it doesn't matter
1 parent ae98281 commit 807c388

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr_automations_init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name: PR automations init
2121

2222
on:
23-
pull_request_target:
23+
pull_request:
2424
types:
2525
- opened
2626
- reopened

automations/js/src/project_automation/prs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const main = async (octokit) => {
6060

6161
if (eventName === 'pull_request_review') {
6262
await syncReviews(pr, prBoard, prCard)
63-
} else if (eventName === 'pull_request_target') {
63+
} else {
6464
switch (eventAction) {
6565
case 'opened':
6666
case 'reopened': {

0 commit comments

Comments
 (0)