Closed polatsinan closed 2 years ago
Maybe related problem here - for example https://github.com/triplepoint/ansible-dnsmasq/actions/runs/1904469023
Errors show when running manually from the command line, and the text output of the github action shows the errors in the text, but the action evaluates as successful.
Action summary shows parsed out errors like:
Annotations
1 error
test: tasks/main.yml#L14
risky-file-permissions File permissions unset or incorrect
but the action shows a successful pass.
Warnings don't set the exit code to 1 (failure)
Hi all, please retest using the main
branch
Hi all, please retest using the
main
branch
Just replaced master
with main
in my workflow, but it seems it is not longer allowed to use:
targets: tasks/main.yml
override-deps: |
Since it is failing with:
Unexpected input(s) 'targets', 'override-deps', valid inputs are ['entryPoint', 'args']
I will need to look into it before I can test again.
Changing to main
branch and removing the targets
and override-deps
inputs fixed the issue.
My workflow:
Running locally:
As you can see, warnings are shown (as expected).
But when linting is being run via Github Actions I am not getting these warnings and the checks are succesfull while I expect the same warnings. See (URL):