Skip to content

Release workflow: create release on the fork, not upstream - #3

Merged
alexeagle merged 2 commits into
masterfrom
figma-release-fix-repo
Jun 22, 2026
Merged

Release workflow: create release on the fork, not upstream#3
alexeagle merged 2 commits into
masterfrom
figma-release-fix-repo

Conversation

@alexeagle

@alexeagle alexeagle commented Jun 22, 2026

Copy link
Copy Markdown

Follow-up to #2. The last run (build) built all three platforms successfully (the arm64 lld fix worked 🎉), but the release job failed:

HTTP 403: Resource not accessible by integration (https://api.github.com/repos/bazelbuild/bazel/releases)

Fix

The "Generate release notes" step adds an upstream remote (bazelbuild/bazel) to compute drift. An unqualified gh release create then resolves to that base repo rather than this fork, so it tried to publish to bazelbuild/bazel → 403. Pass --repo "$GITHUB_REPOSITORY" so the release is always created here.

Also: re-applies the Node 24 pin bump

The actions/* → Node 24 pin bump (last commit of #2) was dropped from #2's merge — master still had checkout@v4.1.1 etc. This PR re-applies it (checkout v7.0.0, upload-artifact v7.0.1, download-artifact v8.0.1).

🤖 Generated with Claude Code

alexeagle and others added 2 commits June 22, 2026 10:42
GitHub now forces Node 20 actions onto the deprecated Node 24 shim. Pin
to the current major releases, which target node24 natively:

  actions/checkout          v4.1.1 -> v7.0.0
  actions/upload-artifact   v4.0.0 -> v7.0.1
  actions/download-artifact v4.3.0 -> v8.0.1

Ref: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The previous run built all three platforms successfully but the release
job failed with:

  HTTP 403: Resource not accessible by integration
  (https://api.github.com/repos/bazelbuild/bazel/releases)

The "Generate release notes" step adds an `upstream` remote, and an
unqualified `gh release create` resolves to the base repo (upstream
bazelbuild/bazel) instead of this fork — hence the 403. Pass
--repo "$GITHUB_REPOSITORY" so the release is always created here.

Also re-applies the Node 24 action pin bump, which was dropped from the
PR #2 merge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@alexeagle
alexeagle merged commit 1ef16c9 into master Jun 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant