File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 19
19
fetch-depth : 0
20
20
ref : ${{ inputs.ref }}
21
21
22
- - name : Fetch base branch
23
- run : |
24
- git remote add base https://github.com/commerce-docs/commerce-php.git
25
- git fetch base ${{ github.event.pull_request.base.ref }}
26
- git checkout ${{ inputs.ref }}
27
-
28
22
- name : Setup reviewdog
29
23
uses : reviewdog/action-setup@v1.3.0
30
24
with :
@@ -38,14 +32,12 @@ jobs:
38
32
uses : super-linter/super-linter/slim@v7.3.0
39
33
env :
40
34
GITHUB_TOKEN : ${{ github.token }}
41
- LOG_LEVEL : DEBUG
42
- ACTIONS_RUNNER_DEBUG : true
43
35
44
36
- name : Report linting results with reviewdog
45
37
shell : bash
46
38
run : |
47
39
TMPFILE=$(mktemp)
48
- git diff base/${{ github.event.pull_request.base.ref }} > "${TMPFILE}"
40
+ git diff > "${TMPFILE}"
49
41
if [ ! -s "${TMPFILE}" ]; then
50
42
echo "No changes detected, skipping reviewdog."
51
43
exit 0
You can’t perform that action at this time.
0 commit comments