Commit ad32dad
committed
Use pull_request_target for PR notifications so fork PRs get Slack alerts
pull_request events from forks don't have access to repo secrets, so the
SLACK_WEBHOOK was empty and curl silently failed. pull_request_target runs
in the base repo context and has access to secrets. Also switched curl -s
to curl -sf so HTTP failures surface as workflow failures.1 parent 9792144 commit ad32dad
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
0 commit comments