Skip to content

Commit 2d40460

Browse files
authored
[ci] fix notify/label actions for forks (#32725)
Need this to run against target for forks to get the notification. This job does not checkout the code in the PR, so it's safe to run from the target. Also fixes failing checks on PRs: <img width="870" alt="Screenshot 2025-03-24 at 3 28 30 PM" src="https://github.com/user-attachments/assets/add78287-6449-4e48-9376-f3b360d2607c" />
1 parent 254dc4d commit 2d40460

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/compiler_discord_notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: (Compiler) Discord Notify
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, ready_for_review]
66
paths:
77
- compiler/**

.github/workflows/runtime_discord_notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: (Runtime) Discord Notify
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, ready_for_review]
66
paths-ignore:
77
- compiler/**

.github/workflows/shared_label_core_team_prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: (Shared) Label Core Team PRs
22

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

66
permissions: {}
77

0 commit comments

Comments
 (0)