File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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 VALIDATE_CSS : false
@@ -33,10 +33,10 @@ jobs:
3333 LINTER_RULES_PATH : ./tools/pr-checker/linters/
3434 DEFAULT_BRANCH : prod
3535 - name : Summary
36- if : always()
36+ if : " ! github.event.pull_request.head.repo.fork "
3737 run : |
38- cat ./checker.log | tail -n +2; echo "====== Super Linter ======"
39- cat ./super-linter.log | sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/'
38+ < ./checker.log tail -n +2; echo "====== Super Linter ======"
39+ < ./super-linter.log sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/'
4040 echo "====== Examine logs in Checker and Super-Linter steps for more details ======"
4141 if [ '${{ steps.Checker.outcome }}' != 'success' ] || [ '${{ steps.Lint-Code-Base.outcome }}' != 'success' ]; then exit 1; fi
4242 test-app :
6262 if : always()
6363 run : |
6464 logsPath=$(sudo find . -name "console.log");
65- sudo cat $logsPath | sudo grep Launching
65+ sudo cat " $logsPath" | sudo grep Launching
6666
6767 - name : Archive server logs if failed
6868 if : failure()
You can’t perform that action at this time.
0 commit comments