Skip to content

fix(ci): create v1 draft release without --target - #59832

Merged
rekram1-node merged 1 commit into
v1from
v1-release-draft
Oct 28, 2026
Merged

rekram1-node merged 1 commit into
v1from
v1-release-draft

Conversation

@rekram1-node

Copy link
Copy Markdown
Contributor

The v1 publish run fails at gh release create with HTTP 403: Resource not accessible by integration.

When a release is created with a target commit whose workflow files differ from the default branch, GitHub also requires the workflows permission. github.token can't be granted that, and v1's workflows always differ from dev's. The old app token had it, so this broke when #59665 switched to github.token. See cli/cli#9514.

Dropping --target makes it the same call dev uses. A draft doesn't create its tag, and script/publish.ts already pushes v<version> with the deploy key before publishing the release, so the draft picks the tag up there. No manual tag push needed.

@rekram1-node
rekram1-node merged commit 1388523 into v1 Oct 28, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the v1-release-draft branch October 28, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant