🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
Describe the bug
Using the FAIL_IF_UPDATED_SOURCES variable is meant to fail MegaLinter if there are auto fixed files (which it does).
However the Azure PR comment shows as success:
To Reproduce
Steps to reproduce the behavior:
Configure a DevOps pipeline with the FAIL_IF_UPDATED_SOURCES variable
Raise a PR with a file known to require an auto fix
Voila, MegaLinter job should fail (as per screenshot) but PR comment with show "Success" and be raised resolved
Expected behavior
PR comment to show the MegaLinter failure and the comment to be in an active state
Describe the bug Using the
FAIL_IF_UPDATED_SOURCES
variable is meant to fail MegaLinter if there are auto fixed files (which it does). However the Azure PR comment shows as success:To Reproduce Steps to reproduce the behavior:
FAIL_IF_UPDATED_SOURCES
variableExpected behavior PR comment to show the MegaLinter failure and the comment to be in an active state
Screenshots