Commit 5d55556
authored
fix(cicd): create releases with the release PAT on core/1.47 (#15447)
## Problem
`release-draft-create.yaml` is triggered by `pull_request: closed`, so
it runs from **the base branch's own copy** of the workflow. #15003
switched Create Release to `secrets.PR_GH_TOKEN` on `main` on
2026-08-10, but that fix was never backported, so `core/1.47` through
`core/1.50` still pass `GITHUB_TOKEN`.
`GITHUB_TOKEN` is refused with `403 Resource not accessible by
integration` when creating a release on a `core/*` line, so every patch
cut from these branches fails at the tag step.
This is not theoretical. Run
[31929089801](https://github.com/Comfy-Org/ComfyUI_frontend/actions/runs/31929089801)
cut `1.49.7`, the bump PR merged, and `v1.49.7` was never created.
`core/1.49` has sat at `package.json` 1.49.7 with `v1.49.6` as its
newest tag since 2026-08-16, and ComfyUI pins 1.49.6 — so 1.49.7 and the
#15211 popular-templates backport have not reached users.
## Fix
Same one-line change as #15003, applied to this line.
Companion PRs cover the other affected branches: core/1.47, core/1.48,
core/1.49, core/1.50.
After this merges, `core/1.49` still needs its missing release recovered
with `release-recover-tag.yaml` (#15006).
## Test
`actionlint` and `scripts/cicd/check-yaml.sh` are clean on the changed
file. The two warnings they emit here (`SC2086` on line 34, and a
`comments-indentation` hit in `ci-tests-e2e.yaml`) are pre-existing and
reproduce without this change.1 parent 8c2bb2a commit 5d55556
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | 84 | | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments