workflows: pin Homebrew/actions to 2026.07.10.1#23048
Conversation
Signed-off-by: Patrick Linnane <patrick@linnane.io>
|
Thanks for your pull request. This has been closed because it appears to use an incomplete or outdated pull request template. Please edit this pull request to fill in the current pull request template. This workflow will reopen this pull request automatically once the template is complete. Do not open a new pull request for this. |
There was a problem hiding this comment.
Pull request overview
Pins Homebrew/actions usages in this repo’s GitHub workflows (and the tap-new workflow template) from the mutable @main ref to the immutable 2026.07.10.1 release commit (1f8e202ffddf94def7f42f6fa3a482e821489f9c), using the full SHA plus an inline version comment. This aligns workflow security/reproducibility with a “no floating refs” approach while keeping Dependabot-friendly version annotations.
Changes:
- Replace
Homebrew/actions/*@mainwithHomebrew/actions/*@1f8e202ffddf94def7f42f6fa3a482e821489f9c # 2026.07.10.1across multiple workflows. - Update the
brew tap-newgenerated workflow template to emit pinned Homebrew/actions references. - Keep pins consistent across all touched files (same SHA/comment for each Homebrew/actions action).
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Library/Homebrew/dev-cmd/tap-new.rb | Updates the generated workflow template to pin Homebrew/actions to the 2026.07.10.1 SHA. |
| .github/workflows/vendor-version.yml | Pins setup-homebrew action reference to the release SHA. |
| .github/workflows/vendor-gems.yml | Pins multiple Homebrew/actions steps (setup, git config, signing, caching, push). |
| .github/workflows/tests.yml | Pins setup-homebrew and cache-homebrew-prefix usages throughout CI jobs. |
| .github/workflows/sync-default-branches.yml | Pins git-user-config usage. |
| .github/workflows/sponsors-maintainers-man-completions.yml | Pins setup/git/signing/push/issue actions to the release SHA. |
| .github/workflows/spdx.yml | Pins setup/git/signing/push/issue actions to the release SHA. |
| .github/workflows/sorbet.yml | Pins setup/git/signing/push/issue actions to the release SHA. |
| .github/workflows/sbom.yml | Pins setup/git/signing/push/issue actions to the release SHA. |
| .github/workflows/release.yml | Pins setup and prefix-cache actions to the release SHA. |
| .github/workflows/doctor.yml | Pins setup action references to the release SHA. |
| .github/workflows/docs.yml | Pins setup, setup-ruby, and issue actions to the release SHA. |
| .github/workflows/copilot-setup-steps.yml | Pins setup and prefix-cache actions used by Copilot setup steps workflow. |
| .github/workflows/autogenerated-files.yml | Pins setup action reference to the release SHA. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pin
Homebrew/actionsreferences to the immutable2026.07.10.1release using its full commit SHA and version comment.This removes mutable
@maindependencies while allowing Dependabot to track future releases.brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?AI assisted with the mechanical pin updates. The changes were verified with
actionlint,git diff --check, a focused style check fortap-new.rb, and a zizmor scan confirming no pin/comment mismatches.