File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ jobs:
39
39
- name : Run reviewdog ${{ matrix.tool }}
40
40
env :
41
41
REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
- CI_PULL_REQUEST : ${{ github.event.pull_request [0].number }}
42
+ CI_PULL_REQUEST : ${{ github.event.workflow_run.pull_requests [0].number }}
43
43
CI_REPO_OWNER : ${{ github.repository_owner }}
44
44
CI_REPO_NAME : ${{ github.event.repository.name }}
45
- CI_COMMIT : ${{ github.event.workflow_run.pull_requests[0].head.repo }}
45
+ CI_COMMIT : ${{ github.event.workflow_run.pull_requests[0].head.sha }}
46
46
run : echo reports/${{ matrix.tool }}-reviewdog.out | reviewdog -tee -reporter=github-pr-review -name=${{ matrix.tool }} -efm="${{ matrix.error-format }}"
47
47
danger-check :
48
48
if : github.event_name == 'pull_request_target'
You can’t perform that action at this time.
0 commit comments