Skip to content

Commit dbb435c

Browse files
committed
Add missing error format
1 parent 1437dd5 commit dbb435c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-compliance-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
matrix:
1818
include:
1919
- tool: ktlint
20+
error-format: "%f:%l:%c %m"
2021
- tool: detekt
22+
error-format: "%f:%l:%c: %m"
2123
permissions:
2224
pull-requests: write
2325
runs-on: ubuntu-latest
@@ -41,7 +43,7 @@ jobs:
4143
CI_REPO_OWNER: ${{ github.repository_owner }}
4244
CI_REPO_NAME: ${{ github.event.repository.name }}
4345
CI_COMMIT: ${{ github.event.workflow_run.pull_requests[0].head.repo }}
44-
run: echo reports/${{ matrix.tool }}-reviewdog.out | reviewdog -tee -reporter=github-pr-review
46+
run: echo reports/${{ matrix.tool }}-reviewdog.out | reviewdog -tee -reporter=github-pr-review -name=${{ matrix.tool }} -efm="${{ matrix.error-format }}"
4547
danger-check:
4648
if: github.event_name == 'pull_request_target'
4749
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)