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:
3939 - name : Run reviewdog ${{ matrix.tool }}
4040 env :
4141 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 }}
4343 CI_REPO_OWNER : ${{ github.repository_owner }}
4444 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 }}
4646 run : echo reports/${{ matrix.tool }}-reviewdog.out | reviewdog -tee -reporter=github-pr-review -name=${{ matrix.tool }} -efm="${{ matrix.error-format }}"
4747 danger-check :
4848 if : github.event_name == 'pull_request_target'
You can’t perform that action at this time.
0 commit comments