Author automation as BrewTestBot with a machine token - #126
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository鈥檚 GitHub Actions automation to author commits as BrewTestBot, add commit signing, and ensure Regenerate uses the machine token (matching the Ingest workflow) so checks run without manual approval.
Changes:
- Update Regenerate and Ingest workflows to configure git as
BrewTestBotand add asetup-commit-signingstep usingBREWTESTBOT_SSH_SIGNING_KEY. - Update Regenerate workflow to use
${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN || github.token }}for pushing commits and creating PRs. - Extend workflow specs to assert the new author/signing/token behaviors.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
spec/workflows_spec.rb |
Adds assertions for BrewTestBot authoring, commit-signing step presence, and Regenerate push token usage. |
.github/workflows/regenerate.yml |
Switches automation author to BrewTestBot, adds commit signing, and uses machine token for push + PR creation. |
.github/workflows/ingest.yml |
Switches automation author to BrewTestBot and adds commit signing. |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
krehel
approved these changes
Aug 13, 2026
Both workflows commit as BrewTestBot with SSH commit signing, and Regenerate pushes and opens its PR with the machine token so its checks run without manual approval, matching Ingest. Signed-off-by: Patrick Linnane <patrick@linnane.io>
p-linnane
force-pushed
the
brewtestbot-automation
branch
from
August 13, 2026 23:43
d7b509c to
a5eccb8
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.
Signs both workflows' automation commits as BrewTestBot and moves Regenerate's push and PR creation to the machine token so its checks run without manual approval, matching Ingest.