Commit 8562779
committed
ci: fix release publish not triggering after Release PR merge
Pushes whose commits originate from the default GITHUB_TOKEN do not
trigger downstream workflow runs, so merging the changesets Release PR
never ran the publish step (the version bump landed on main but the
package was never published to npm).
- Use RELEASE_GITHUB_TOKEN (PAT) for checkout + changesets action, with
a fallback to GITHUB_TOKEN so behaviour is unchanged until the secret
is added. Once set, merging the Release PR cascades into publish.
- Add workflow_dispatch as a manual safety valve to re-run publish for a
version that was bumped but never published.1 parent 3b17321 commit 8562779
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
| |||
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | | - | |
| 51 | + | |
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| |||
0 commit comments