From dfa06bf81b9f2c5bf31d1142299f80cbcaca3900 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Thu, 20 Apr 2023 15:54:14 -0700 Subject: [PATCH] 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. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8eb4c8dbc9..83d2a4bfd6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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