File tree Expand file tree Collapse file tree 2 files changed +1
-28
lines changed Expand file tree Collapse file tree 2 files changed +1
-28
lines changed Original file line number Diff line number Diff line change 66 permissions :
77 contents : read
88 statuses : write
9- pull-requests : write
109
1110 jobs :
1211 testing :
Original file line number Diff line number Diff line change @@ -13,41 +13,15 @@ jobs:
1313 with :
1414 fetch-depth : 0
1515
16- - name : Setup reviewdog
17- 18- with :
19- reviewdog_version : v0.20.3
20-
2116 - name : Load super-linter configuration
2217 shell : bash
2318 run : cat .github/super-linter.env >> "$GITHUB_ENV"
2419
25- - name : Lint Code Base with super-linter and reviewdog
20+ - name : Lint Code Base with super-linter
2621 uses :
super-linter/super-linter/[email protected] 2722 env :
2823 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2924
30- - name : Report linting results with reviewdog
31- shell : bash
32- run : |
33- TMPFILE=$(mktemp)
34- git diff > "${TMPFILE}"
35- if [ ! -s "${TMPFILE}" ]; then
36- echo "No changes detected, skipping reviewdog."
37- exit 0
38- fi
39- git stash --include-untracked
40- reviewdog \
41- -f=diff \
42- -f.diff.strip=1 \
43- -name="markdownlint-fix" \
44- -reporter="github-pr-review" \
45- -filter-mode="diff_context" \
46- -fail-level=error < "${TMPFILE}"
47- git stash drop || true
48- env :
49- REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50-
5125 remark-test :
5226 runs-on : ubuntu-latest
5327 needs : lint-test
You can’t perform that action at this time.
0 commit comments