Skip to content

Exit code is 0 for warnings#46

Merged
nonprofittechy merged 1 commit into
mainfrom
warnings-exit-code-1
Jun 2, 2026
Merged

Exit code is 0 for warnings#46
nonprofittechy merged 1 commit into
mainfrom
warnings-exit-code-1

Conversation

@nonprofittechy
Copy link
Copy Markdown
Member

unless MAX_WARNINGS parameter is set and is less than or equal to the number of warnings.

Added two new parameters:

--max-warnings: when set, it creates a limit to the number of allowed warnings before DAYamlChecker exits with a nonzero value
--format github: should be enabled when run in a github action so that appropriate error and warning annotations can be parsed by the github action

… is less than

or equal to the number of warnings.

Added two new parameters:

--max-warnings: when set, it creates a limit to the number of allowed warnings before DAYamlChecker exits with a nonzero value
--format github: should be enabled when run in a github action so that appropriate error and warning annotations can be parsed by the github action
@nonprofittechy nonprofittechy merged commit fa177b4 into main Jun 2, 2026
3 of 4 checks passed
@nonprofittechy nonprofittechy deleted the warnings-exit-code-1 branch June 2, 2026 20:45
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.

1 participant