Skip to content

CUP-1135: Grant release job contents write for version tags - #39

Open
Julianacodes wants to merge 1 commit into
procore-oss:mainfrom
Julianacodes:fix-release-cup1135
Open

CUP-1135: Grant release job contents write for version tags#39
Julianacodes wants to merge 1 commit into
procore-oss:mainfrom
Julianacodes:fix-release-cup1135

Conversation

@Julianacodes

Copy link
Copy Markdown

Summary

  • CUP-1135: the Release job published migration-lock-timeout 2.0.0 to RubyGems, then failed pushing tag v2.0.0 because GITHUB_TOKEN only had contents: read.
  • Grant contents: write on the release job (workflow default stays contents: read) so fac/ruby-gem-push-action can create tags.

Test plan

  • Confirm CI is green on this PR
  • After merge, do not only re-run the failed workflow (it still uses the old YAML). Run Release via workflow_dispatch, or tag v2.0.0 on 7f6329e by hand
  • Confirm v2.0.0 exists on GitHub; RubyGems already has 2.0.0 and will ignore a duplicate push

Made with Cursor

CUP-1135: the 2.0.0 gem published, then github-actions[bot] got 403 tagging v2.0.0 because GITHUB_TOKEN was read-only.
Signed-off-by: Juliana Hernandez <juliana88h@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the repo label Sep 1, 2026
@Julianacodes
Julianacodes marked this pull request as ready for review September 1, 2026 19:50
@Julianacodes
Julianacodes requested a review from a team as a code owner September 1, 2026 19:50
@joe-sharp
joe-sharp self-requested a review September 1, 2026 19:52
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.

2 participants