Skip to content

CI failure: Homebrew/actions/setup-homebrew@master no longer resolves (default branch renamed to main) #427

Description

@claude

Summary

The Smoke Test CI workflow is failing at the Set up job step of the Linters job with:

##[error]Unable to resolve action `homebrew/actions@master`, unable to find version `master`

Root cause

Homebrew/actions renamed its default branch from master to main. Any workflow referencing Homebrew/actions/setup-homebrew@master can no longer resolve the ref and fails during job setup. This is unrelated to the branch's code changes.

Evidence: .github/workflows/benchmarks.yml:29 already uses Homebrew/actions/setup-homebrew@main and is unaffected.

Fix (verified locally, could not be pushed)

Change all Homebrew/actions/setup-homebrew@master references to @main:

  • .github/workflows/smoke.yml:31
  • .github/workflows/smoke.yml:57
  • .github/workflows/sbom.yml:30
  • .github/workflows/coverage.yml:29
  • .github/workflows/claude.yml:71
-        uses: Homebrew/actions/setup-homebrew@master
+        uses: Homebrew/actions/setup-homebrew@main

Why this was not auto-applied

The auto-fix bot prepared and committed this change, but git push was rejected:

refusing to allow a GitHub App to create or update workflow `.github/workflows/claude.yml`
without `workflows` permission

The GitHub App token used for auto-fix lacks the workflows permission required to modify files under .github/workflows/. A maintainer needs to apply the one-line change above (or grant the workflows permission scope to the auto-fix workflow's token).

Suggested labels: bug, ci-failure

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions