Skip to content

Use Actions bot for vendor-gems#23042

Merged
MikeMcQuaid merged 1 commit into
mainfrom
github-actions-auto-commits
Jul 10, 2026
Merged

Use Actions bot for vendor-gems#23042
MikeMcQuaid merged 1 commit into
mainfrom
github-actions-auto-commits

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member

  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you explained why you'd like these changes included, not just what they do?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests (excluding integration tests)? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) locally?

  • AI was used to generate or assist with generating this PR.

OpenAI Codex 5.5 xhigh with local review.


Copilot AI review requested due to automatic review settings July 10, 2026 08:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 push trigger paths so the workflow can run on relevant dependency/config changes.
  • Switches the push mechanism to use github-actions[bot] with github.token and 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.

Comment thread .github/workflows/vendor-gems.yml
@MikeMcQuaid MikeMcQuaid force-pushed the github-actions-auto-commits branch from 5cffaf3 to b357eb8 Compare July 10, 2026 18:15

@p-linnane p-linnane 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.

Love this.

- 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.
@MikeMcQuaid MikeMcQuaid force-pushed the github-actions-auto-commits branch from b357eb8 to 42d27e5 Compare July 10, 2026 18:54
@MikeMcQuaid MikeMcQuaid enabled auto-merge July 10, 2026 18:57
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 19ddb77 Jul 10, 2026
54 checks passed
@MikeMcQuaid MikeMcQuaid deleted the github-actions-auto-commits branch July 10, 2026 19:34
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.

3 participants