Skip to content

ci: pin Homebrew version in CI runs#51543

Merged
jkleinsc merged 5 commits into
mainfrom
nmg/homebrew-pin
May 7, 2026
Merged

ci: pin Homebrew version in CI runs#51543
jkleinsc merged 5 commits into
mainfrom
nmg/homebrew-pin

Conversation

@nmggithub

@nmggithub nmggithub commented May 7, 2026

Copy link
Copy Markdown
Contributor

Description of Change

We had a recent macOS build that failed in CI due to a bug in Homebrew: https://github.com/electron/electron/actions/runs/25497330347

This appears to be fixed in a newer version of Homebrew (5.1.10) via this commit: Homebrew/brew@1c8cbf3 (Homebrew/brew#22137)

However, it seems we currently just use whatever version of Homebrew is on our runners. For better control, we might be better served pinning the Homebrew version ourselves and installing it via their published .pkg files.

Checklist

  • I have filled out the PR description

Release Notes

Notes: none.

@nmggithub nmggithub requested a review from a team May 7, 2026 13:57
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 7, 2026

@github-actions github-actions Bot 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.

Hello @nmggithub! It looks like this pull request touches one of our dependency or CI files, and per our contribution policy we do not accept these types of changes in PRs.

To move this PR forward, please:

  1. Revert the dependency/CI file changes from your branch. (e.g. yarn.lock, .yarn/, .yarnrc.yml, .github/workflows/, .github/actions/)
  2. Ensure your branch allows maintainer commits so a maintainer can push the necessary dependency changes on your behalf.
  3. Leave a comment letting reviewers know the dependency change is still needed.
For maintainers

To land this PR, push a verified commit to the contributor's branch with the required dependency/CI changes, then dismiss this review.

@jkleinsc jkleinsc closed this May 7, 2026
@jkleinsc jkleinsc reopened this May 7, 2026
@jkleinsc jkleinsc changed the title feat: pin Homebrew version in CI runs ci: pin Homebrew version in CI runs May 7, 2026
@electron-cation electron-cation Bot added semver/none and removed new-pr 🌱 PR opened recently labels May 7, 2026
@jkleinsc jkleinsc added new-pr 🌱 PR opened recently target/40-x-y PR should also be added to the "40-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. target/42-x-y PR should also be added to the "42-x-y" branch. target/43-x-y PR should also be added to the "43-x-y" branch. and removed semver/none labels May 7, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 7, 2026
@electron-cation electron-cation Bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels May 7, 2026
@jkleinsc jkleinsc merged commit 05fc998 into main May 7, 2026
73 checks passed
@jkleinsc jkleinsc deleted the nmg/homebrew-pin branch May 7, 2026 18:23
@release-clerk

release-clerk Bot commented May 7, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "40-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/40-x-y and removed target/40-x-y PR should also be added to the "40-x-y" branch. labels May 7, 2026
@trop

trop Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "42-x-y", please check out #51545

@trop

trop Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "43-x-y", please check out #51546

@trop trop Bot added the in-flight/42-x-y label May 7, 2026
@trop

trop Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "41-x-y", please check out #51547

@trop trop Bot added in-flight/43-x-y in-flight/41-x-y merged/41-x-y PR was merged to the "41-x-y" branch. and removed target/42-x-y PR should also be added to the "42-x-y" branch. target/43-x-y PR should also be added to the "43-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. in-flight/41-x-y labels May 7, 2026
@trop

trop Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

@nmggithub has manually backported this PR to "40-x-y", please check out #51555

@trop trop Bot added in-flight/40-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/42-x-y PR was merged to the "42-x-y" branch. and removed needs-manual-bp/40-x-y in-flight/43-x-y in-flight/42-x-y labels May 7, 2026
jkleinsc pushed a commit that referenced this pull request May 8, 2026
ci: pin Homebrew version in CI runs (#51543)

* feat: pin Homebrew version in CI runs

* feat: validate Homebrew asset before installing

* fix: fix sha256 verificaton

* fix: inline sha256 check

* fix: remove GitHub CLI integrity check
@trop trop Bot added merged/40-x-y PR was merged to the "40-x-y" branch. and removed in-flight/40-x-y labels May 8, 2026
@nmggithub nmggithub mentioned this pull request May 23, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/40-x-y PR was merged to the "40-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. merged/42-x-y PR was merged to the "42-x-y" branch. merged/43-x-y PR was merged to the "43-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants