Skip to content

Commit e641b7f

Browse files
committed
chore: remove debug logging from super-linter
1 parent aa124ae commit e641b7f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/lint-pr_job.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
fetch-depth: 0
2020
ref: ${{ inputs.ref }}
2121

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-
2822
- name: Setup reviewdog
2923
uses: reviewdog/action-setup@v1.3.0
3024
with:
@@ -38,14 +32,12 @@ jobs:
3832
uses: super-linter/super-linter/slim@v7.3.0
3933
env:
4034
GITHUB_TOKEN: ${{ github.token }}
41-
LOG_LEVEL: DEBUG
42-
ACTIONS_RUNNER_DEBUG: true
4335

4436
- name: Report linting results with reviewdog
4537
shell: bash
4638
run: |
4739
TMPFILE=$(mktemp)
48-
git diff base/${{ github.event.pull_request.base.ref }} > "${TMPFILE}"
40+
git diff > "${TMPFILE}"
4941
if [ ! -s "${TMPFILE}" ]; then
5042
echo "No changes detected, skipping reviewdog."
5143
exit 0

0 commit comments

Comments
 (0)