Skip to content

ci: enforce formula style and audit - #11

Merged
joe4dev merged 1 commit into
mainfrom
ci/enforce-formula-lint
Sep 28, 2026
Merged

joe4dev merged 1 commit into
mainfrom
ci/enforce-formula-lint

Conversation

@joe4dev

@joe4dev joe4dev commented Sep 28, 2026

Copy link
Copy Markdown
Member

Motivation

#10 ran the localstack-cli formula checks with continue-on-error: true, because the generated formula had 5 style offences and 7 audit problems. That escape hatch was scheduled to close once localstack/localstack-cli#57 landed and a release regenerated the formula.

Both have happened: #57 merged, and v2026.8.2 (5e10c62) regenerated Formula/localstack-cli.rb from the fixed generator.

Change

Drop continue-on-error: true and its TODO from the formula step. A formula style or audit failure now fails the job.

if: always() and the || rc=1 pattern stay, so the formula is still checked when a cask step fails, and a style failure still lets the audit run.

Validation

  • main after 5e10c62 (run): formula style reports no offenses, audit --online reports no problems.
  • This branch via workflow_dispatch (run): every step green, with the formula step enforced.

Remaining

The --except-cops=Cask/StanzaOrder exception from #10 is still waiting on localstack/lstk#512 and is unchanged here.

🤖 Generated with Claude Code

localstack/localstack-cli#57 fixed the generator, and v2026.8.2 regenerated
Formula/localstack-cli.rb from it: style and audit --online are both clean on
main, so the formula step no longer needs continue-on-error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joe4dev
joe4dev marked this pull request as ready for review September 28, 2026 12:36
@joe4dev
joe4dev requested a review from anisaoshafi September 28, 2026 12:37
@joe4dev
joe4dev merged commit 3af944b into main Sep 28, 2026
2 checks passed
@joe4dev
joe4dev deleted the ci/enforce-formula-lint branch September 28, 2026 12:51
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.

2 participants