Use Actions bot for vendor-gems#23042
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the vendor-gems GitHub Actions workflow to let it commit and push vendor-gems updates directly to bot-created branches (e.g., Dependabot) after approval, removing the need for manual workflow_dispatch runs.
Changes:
- Expands the
pushtrigger paths so the workflow can run on relevant dependency/config changes. - Switches the push mechanism to use
github-actions[bot]withgithub.tokenand job-scoped write permissions. - Adjusts control flow so PR runs verify drift (
--no-commit) while non-PR runs commit and push updates.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5cffaf3 to
b357eb8
Compare
- Let `vendor-gems` push updates from Dependabot PR branches. - Check out the pushed branch before creating workflow commits. - Avoid manual `workflow_dispatch` runs now approved bot PR workflows can run after maintainer approval. - Motivation: https://github.blog/changelog/2026-06-11-bot-created-pull-requests-can-run-workflows-if-approved/ - Preserve BrewTestBot signing for other scheduled update workflows.
b357eb8 to
42d27e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vendor-gemspush updates from Dependabot PR branches.workflow_dispatchruns now approved bot PR workflows can run after maintainer approval: https://github.blog/changelog/2026-06-11-bot-created-pull-requests-can-run-workflows-if-approved/brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?OpenAI Codex 5.5 xhigh with local review.