Skip to content

ci: unify bot automation on the shared GitHub App#619

Merged
moonD4rk merged 3 commits into
mainfrom
ci/adopt-shared-release-app
Jul 5, 2026
Merged

ci: unify bot automation on the shared GitHub App#619
moonD4rk merged 3 commits into
mainfrom
ci/adopt-shared-release-app

Conversation

@moonD4rk

@moonD4rk moonD4rk commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Unify bot automation in this repo on the shared GitHub App.

contributors.yml — point at the shared app via client-id (was the old hackbrowserdata-bot app / deprecated app-id).

release.yml + .goreleaser.yml — replace the long-lived Homebrew PAT with a short-lived app token scoped to homebrew-tap:

  • mint it via create-github-app-token, hand it to GoReleaser as HOMEBREW_TAP_GITHUB_TOKEN (was secrets.HOMEBREW_TAP_GITHUB_TOKEN);
  • attribute the formula-bump commit to the app instead of github-actions[bot].

The in-repo tag, GitHub Release, and snapshot builds still use the default GITHUB_TOKEN. Requires the app installed on this repo (contributors) and on homebrew-tap (formula push).

Point contributors.yml at the shared app via client-id (was the old hackbrowserdata-bot app), and replace the long-lived Homebrew PAT with a short-lived app token scoped to homebrew-tap for the formula push.
Copilot AI review requested due to automatic review settings July 4, 2026 16:46
@codecov-commenter

codecov-commenter commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.24%. Comparing base (eb98596) to head (d4f734f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #619   +/-   ##
=======================================
  Coverage   73.24%   73.24%           
=======================================
  Files          69       69           
  Lines        3184     3184           
=======================================
  Hits         2332     2332           
  Misses        628      628           
  Partials      224      224           
Flag Coverage Δ
unittests 73.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

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 repository’s GitHub Actions automation and GoReleaser configuration to use a shared GitHub App for bot operations, replacing older app identifiers and long-lived credentials for Homebrew tap publishing.

Changes:

  • Switch contributors automation to mint an app token using client-id + private key.
  • Mint a short-lived GitHub App token for moonD4rk/homebrew-tap and pass it to GoReleaser as HOMEBREW_TAP_GITHUB_TOKEN.
  • Attribute Homebrew formula bump commits to the app bot identity in .goreleaser.yml.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.goreleaser.yml Updates Homebrew formula bump commit author metadata to the shared app bot identity.
.github/workflows/release.yml Mints a GitHub App token for the Homebrew tap and wires it into GoReleaser via HOMEBREW_TAP_GITHUB_TOKEN.
.github/workflows/contributors.yml Migrates app token minting inputs from deprecated app-id to client-id.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/contributors.yml
@moonD4rk moonD4rk merged commit 6502d5e into main Jul 5, 2026
9 checks passed
@moonD4rk moonD4rk deleted the ci/adopt-shared-release-app branch July 5, 2026 16:16
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