File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
shell : bash
23
23
run : bash ./tools/pr-checker/checker.sh ${{ github.repository }} ${{ github.event.pull_request.number }} | tee checker.log
24
24
- 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
27
27
env :
28
28
VALIDATE_ALL_CODEBASE : false
29
29
VALIDATE_CSS : false
@@ -33,10 +33,10 @@ jobs:
33
33
LINTER_RULES_PATH : ./tools/pr-checker/linters/
34
34
DEFAULT_BRANCH : prod
35
35
- name : Summary
36
- if : always()
36
+ if : " ! github.event.pull_request.head.repo.fork "
37
37
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/'
40
40
echo "====== Examine logs in Checker and Super-Linter steps for more details ======"
41
41
if [ '${{ steps.Checker.outcome }}' != 'success' ] || [ '${{ steps.Lint-Code-Base.outcome }}' != 'success' ]; then exit 1; fi
42
42
test-app :
59
59
if : always()
60
60
run : |
61
61
logsPath=$(sudo find . -name "console.log");
62
- sudo cat $logsPath | sudo grep Launching
62
+ sudo cat " $logsPath" | sudo grep Launching
63
63
- name : Archive server logs if failed
64
64
if : failure()
65
65
uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments