feat(linter): align Super-Linter defaults with workflow behavior - #597
Conversation
neilime
left a comment
There was a problem hiding this comment.
@copilot now the job is failing:
Super-Linter initialization
2026-08-31 06:50:03 [ERROR] Behavior not supported, please either only include (VALIDATE=true) or exclude (VALIDATE=false) linters, but not both
2026-08-31 06:50:03 [FATAL] Error while validating the configuration of enabled linters
Fix that
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter GIT_COMMITLINT |
076ec3c to
9628d3e
Compare
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
5177231 to
8c5243a
Compare
Super-linter summary
Super-linter detected linting errors For more information, see the GitHub Actions workflow run Powered by Super-linter GITHUB_ACTIONS_ZIZMOR |
Co-authored-by: neilime <314088+neilime@users.noreply.github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
8c5243a to
d0af3f3
Compare
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
The reusable linter workflow now produces Super-Linter summaries without warnings while keeping commit message validation enabled for repositories that do not provide their own commitlint configuration.
What changed
Summary handling
SAVE_SUPER_LINTER_SUMMARYtotrueso the configured GitHub step summary and pull request summary paths are consistent with Super-Linter's requirements.linter-env.Opinionated commitlint fallback
.commitlintrc*andcommitlint.config.*files, or in the rootpackage.json.commitlint.config.cjswith the repository's Conventional Commits rules only when commitlint is enabled and no caller configuration exists.VALIDATE_GIT_COMMITLINT=falseoverride.VALIDATE_GIT_COMMITLINT=trueback to Super-Linter's enabled-by-default behavior, avoiding its unsupported mix of include and exclude validator flags.Workflow structure
Validation
make lint