Add link to doc for lintrunner in CI (#15604)

Add a link to point to the doc where users can find instructions to set
up lintrunner should there be any lint issues in CI.
This commit is contained in:
Justin Chu 2023-04-20 15:54:14 -07:00 committed by GitHub
parent a5dec8eedf
commit dfa06bf81b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ jobs:
set +e
if ! lintrunner --force-color --all-files --tee-json=lint.json -v; then
echo ""
echo -e "\e[1m\e[36mYou can reproduce these results locally by using \`lintrunner -m main\`.\e[0m"
echo -e "\e[1m\e[36mYou can reproduce these results locally by using \`lintrunner\`. To set up lintrunner locally, see https://github.com/microsoft/onnxruntime/blob/main/docs/Coding_Conventions_and_Standards.md#linting .\e[0m"
exit 1
fi
- name: Produce SARIF