Skip to content

Author automation as BrewTestBot with a machine token - #126

Merged
p-linnane merged 1 commit into
mainfrom
brewtestbot-automation
Aug 13, 2026
Merged

Author automation as BrewTestBot with a machine token#126
p-linnane merged 1 commit into
mainfrom
brewtestbot-automation

Conversation

@p-linnane

Copy link
Copy Markdown
Contributor

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.

Copilot AI lite review requested due to automatic review settings August 13, 2026 23:40

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

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 BrewTestBot and add a setup-commit-signing step using BREWTESTBOT_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.

Comment thread spec/workflows_spec.rb
Comment thread spec/workflows_spec.rb Outdated
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
p-linnane force-pushed the brewtestbot-automation branch from d7b509c to a5eccb8 Compare August 13, 2026 23:43
@p-linnane
p-linnane merged commit 0fae44c into main Aug 13, 2026
5 checks passed
@p-linnane
p-linnane deleted the brewtestbot-automation branch August 13, 2026 23:46
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