We have to specify the 'push' target. This avoids the message:
You have successfully added a new vcs-diff-lint configuration
.github/workflows/python-diff-lint.yml:python-lint-job. As part of the
setup process, we have scanned this repository and found no existing
alerts. In the future, you will see all code scanning alerts on the
repository Security tab.
... in every single PR. Without 'push' defined GitHub thinks that the linter action is added in every single pull-request.
While on it, move the 'if' statements down so the rules are slightly more readable.
We have to specify the 'push' target. This avoids the message:
... in every single PR. Without 'push' defined GitHub thinks that the linter action is added in every single pull-request.
While on it, move the 'if' statements down so the rules are slightly more readable.
Related: redhat-plumbers-in-action/differential-shellcheck#215