Commit 064a6c8
fix(ci): skip Datadog reporting steps on non-main branches
Forked PRs lack id-token:write permissions required by dd-sts-action,
causing the "Get Datadog credentials" step to fail. Gate all DD CI
reporting steps (STS credentials, test optimization, orchestrion,
coverage upload) to only run on main. Tests still run on all PRs via
the existing plain `go test` fallback.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 677f3c0 commit 064a6c8
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
0 commit comments