Skip to content

chore(ci): fix permission for update_librarian_googleapis workflow#13298

Merged
zhumin8 merged 2 commits into
googleapis:mainfrom
zhumin8:ci/fix-update-commit
May 29, 2026
Merged

chore(ci): fix permission for update_librarian_googleapis workflow#13298
zhumin8 merged 2 commits into
googleapis:mainfrom
zhumin8:ci/fix-update-commit

Conversation

@zhumin8
Copy link
Copy Markdown
Contributor

@zhumin8 zhumin8 commented May 29, 2026

Prevent the checkout step from saving the read-only default GITHUB_TOKEN on the runner. This should let "Commit and Create PR" step to use CLOUD_JAVA_BOT_GITHUB_TOKEN explicitly listed. Because the checkout step didn't save any credentials, Git has no cached headers to override the URL.

This is in attempt to fix permission denied failure at Create PR step in this workflow, see full log.

For googleapis/librarian#5435

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@zhumin8 zhumin8 requested a review from JoeWang1127 May 29, 2026 14:39
@zhumin8 zhumin8 marked this pull request as ready for review May 29, 2026 14:40
@zhumin8 zhumin8 requested review from a team as code owners May 29, 2026 14:40
Copy link
Copy Markdown
Contributor

@JoeWang1127 JoeWang1127 left a comment

Choose a reason for hiding this comment

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

Could you add a comment on this change.

@zhumin8 zhumin8 enabled auto-merge (squash) May 29, 2026 14:45
@zhumin8 zhumin8 merged commit a6a7941 into googleapis:main May 29, 2026
172 checks passed
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.

2 participants