Repository navigation
feat(ci-minimal): opt-in super-linter-blocking and run-go-vet-build inputs - #389
Merged
Merged
Conversation
…nputs Super Linter in reusable-ci-minimal was advisory with no way to opt out. A repo that wanted lint to block had to keep its own linter action outside the shared workflow. super-linter-blocking (default false) flips both DISABLE_ERRORS and continue-on-error, and adds the job to the ci-minimal-summary failure gate. Go Vet & Build had no if:, so a repo without a go.mod (docs-only) could not call this workflow at all. run-go-vet-build (default true) gates it. Existing callers are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P2coHXurAM9VQCm1XCHxnS
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
super-linter-blocking(defaultfalse). When it'strue, thesuper-linterjob setsDISABLE_ERRORS=falseandcontinue-on-error: false, drops "(advisory)" from its name, and a failure in it failsMinimal CI Summary. Neither setting can be flipped by the caller's env file, because the stepenv:overrides it.run-go-vet-build(defaulttrue) gatesGo Vet & Build. Without it, a repo with nogo.modcan't call this workflow at all.The first consumer is falkcorp/infra-docs. It will replace its standalone
markdownlint-cli2-actionjob with this workflow, usingsuper-linter: trueandsuper-linter-blocking: true.Test plan
actionlintcleanSuper Linterjob🤖 Generated with Claude Code
https://claude.ai/code/session_01P2coHXurAM9VQCm1XCHxnS