Skip to content

fix(ci): grant contents write permission for beachball publish push#229

Merged
frantic1048 merged 1 commit intomainfrom
fix/ci-contents-write-permission
Mar 20, 2026
Merged

fix(ci): grant contents write permission for beachball publish push#229
frantic1048 merged 1 commit intomainfrom
fix/ci-contents-write-permission

Conversation

@frantic1048
Copy link
Contributor

Summary

  • Fixes contents: readcontents: write in the build job permissions so beachball can push its version bump commit after publishing
  • Syncs package.json version to 1.5.3 (already published to npm) using beachball sync
  • Deletes 3 consumed patch changefiles already included in the 1.5.3 publish
  • Keeps 1 remaining changefile (pin-beachball-action, type: none — won't trigger a publish)

Context

When id-token: write was added for OIDC npm publishing, specifying permissions at the job level overrides all defaults. contents dropped from write (the GitHub Actions default) to read, breaking beachball's git push after publish.

Test plan

  • CI passes (beachball check should pass since the remaining changefile has type none)
  • After merge, the Publish (main) CI job should skip publishing (no publishable changefiles) and succeed

🤖 Generated with Claude Code

When `id-token: write` was added for trusted npm publishing (OIDC),
specifying `permissions` at the job level overrides all defaults.
`contents` dropped from `write` to `read`, breaking beachball's
`git push` after publish.

Also syncs package version to 1.5.3 (already published) and removes
the 3 consumed changefiles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@frantic1048 frantic1048 merged commit 4eedf65 into main Mar 20, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant