Skip to content

chore(ci): use yoshi bot to bypass tag creation restrictions#1291

Merged
aandreassa merged 1 commit into
mainfrom
bot-token
Jun 10, 2026
Merged

chore(ci): use yoshi bot to bypass tag creation restrictions#1291
aandreassa merged 1 commit into
mainfrom
bot-token

Conversation

@aandreassa

@aandreassa aandreassa commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The 'Tag Generator Release' workflow fails with a GH013 repository rule violation error:
"remote: - Cannot create ref due to creations being restricted."

The current workflow was configured to use the default secrets.GITHUB_TOKEN. This token doesn't have bypass permissions to create tags directly on the repository under the current repository rules.

This change better aligns with other configurations such as .github/workflows/release-generators.yml in this repo, or in google-cloud-ruby

As a workaround, we were manually creating tags via AoD.

Fixes #1290

@aandreassa aandreassa marked this pull request as ready for review June 8, 2026 19:18
@aandreassa aandreassa requested a review from a team as a code owner June 8, 2026 19:18

@torreypayne torreypayne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@aandreassa aandreassa merged commit 46d7ce0 into main Jun 10, 2026
14 checks passed
@aandreassa aandreassa deleted the bot-token branch June 10, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix CI token access for pushing release tags in gapic-generator-ruby

2 participants