ci: fix post-release homebrew formula and docs update jobs - #1841
Merged
Conversation
- update-homebrew-formula: bump setup-homebrew@master to @main (master is deprecated and errors in Homebrew 5.2.0) and trust the locally-created lacework/lacework-cli tap so brew audit will load its formula - update-cli-docs: stop forcing origin to the SSH remote, which failed the docs push with 'Permission denied (publickey)'; the token-authenticated HTTPS remote from actions/checkout is used instead
lokesh-vadlamudi
marked this pull request as ready for review
June 23, 2026 21:16
lokesh-vadlamudi
enabled auto-merge (squash)
June 23, 2026 21:16
wsli-1
approved these changes
Jun 23, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The two automation jobs that fire after a
Releasecompletes both broke on the v2.14.1 release. Neither is a code/test failure — they're release-time infra breakages, fixed independently here.Update Homebrew Formula (
update-homebrew-formula.yml)Failed at the Update CLI Version step:
Recent Homebrew refuses to load a formula from a third-party tap unless it's explicitly trusted. The failure surfaces inside the homebrew-tap script's
lint()→brew audit --formula lacework-cli --strict. Since the tap is created locally in this workflow, the fix belongs here:brew trust lacework/lacework-clibeforemake update-cli-version.Homebrew/actions/setup-homebrew@master→@main(masteris deprecated and becomes a hard error in Homebrew 5.2.0).Update CLI Docs (
update-cli-docs.yml)Docs generated and committed fine; only the push died:
The step forced
originto the SSH URL (git@github.com:lacework/docs_lw.git), but CI only has the HTTPS token fromactions/checkout— no SSH key is loaded. Removed theset-urloverride so the push reuses the token-authenticated HTTPS remote.Notes
lacework/homebrew-tap; thebrew truststep covers the audit call without coupling the tap script to CI-only setup.