File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ jobs:
2222 shell : bash
2323 run : bash ./tools/pr-checker/checker.sh ${{ github.repository }} ${{ github.event.pull_request.number }} | tee checker.log
2424 - id : Lint-Code-Base
25- if : always()
26- uses : github/super-linter@v3.17.0
25+ if : " ! github.event.pull_request.head.repo.fork "
26+ uses : github/super-linter@latest
2727 env :
2828 VALIDATE_ALL_CODEBASE : false
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030 LINTER_RULES_PATH : ./tools/pr-checker/linters/
3131 DEFAULT_BRANCH : prod
3232 - name : Summary
33- if : always()
33+ if : " ! github.event.pull_request.head.repo.fork "
3434 run : |
35- cat ./checker.log | tail -n +2; echo "====== Super Linter ======"
36- cat ./super-linter.log | sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/'
35+ < ./checker.log tail -n +2; echo "====== Super Linter ======"
36+ < ./super-linter.log sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/'
3737 echo "====== Examine logs in Checker and Super-Linter steps for more details ======"
3838 if [ '${{ steps.Checker.outcome }}' != 'success' ] || [ '${{ steps.Lint-Code-Base.outcome }}' != 'success' ]; then exit 1; fi
3939 test-app :
You can’t perform that action at this time.
0 commit comments