Skip to content

Promote dev to main: check that brew upgrade works for a formula installed by its full name under tap trust - #253

Merged
Gorka Gonzalo (d0ubl3g) merged 3 commits into
mainfrom
dev
Oct 28, 2026
Merged

Gorka Gonzalo (d0ubl3g) merged 3 commits into
mainfrom
dev

Conversation

@d0ubl3g

Copy link
Copy Markdown
Contributor

Promotes #252 from dev.

Installs an older release from the tap by its full name, moves the tap to its latest commit, runs brew upgrade and asserts the version changed. Also checks that the short name is refused while the tap is untrusted.

Refs #179

Signed-off-by: d0ubl3g <48954024+d0ubl3g@users.noreply.github.com>
actionlint's shellcheck flagged SC2016 on the step summary, whose
backticks sat in single quotes. The upgrade check itself passed on its
first run (https://github.com/Hodeitek/hodeishield-cli/actions/runs/40736058559):
on macos-latest with Homebrew 7.0.10, installing by the short name was
refused ("Refusing to load formula hodeitek/hodeishield/hodeishield from
untrusted tap hodeitek/hodeishield."). Installing by the full name gave
0.5.1, and after the tap moved to its latest commit, `brew upgrade
hodeishield` installed 0.6.0. Nothing trusted the tap and nothing turned
tap trust off.

Closes #179

Signed-off-by: d0ubl3g <48954024+d0ubl3g@users.noreply.github.com>
Check brew upgrade of a formula installed by its full name on macOS

Signed-off-by: d0ubl3g <48954024+d0ubl3g@users.noreply.github.com>
@d0ubl3g
Gorka Gonzalo (d0ubl3g) merged commit c3ec2b0 into main Oct 28, 2026
42 checks passed
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.

Homebrew now refuses the documented install: the tap is untrusted

1 participant