Skip to content

Commit

Permalink
Correct reviewdog variables
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Aug 10, 2024
1 parent 617cb6a commit 7b81bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-compliance-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Run reviewdog ${{ matrix.tool }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI_PULL_REQUEST: ${{ github.event.pull_request[0].number }}
CI_PULL_REQUEST: ${{ github.event.workflow_run.pull_requests[0].number }}
CI_REPO_OWNER: ${{ github.repository_owner }}
CI_REPO_NAME: ${{ github.event.repository.name }}
CI_COMMIT: ${{ github.event.workflow_run.pull_requests[0].head.repo }}
CI_COMMIT: ${{ github.event.workflow_run.pull_requests[0].head.sha }}
run: echo reports/${{ matrix.tool }}-reviewdog.out | reviewdog -tee -reporter=github-pr-review -name=${{ matrix.tool }} -efm="${{ matrix.error-format }}"
danger-check:
if: github.event_name == 'pull_request_target'
Expand Down

0 comments on commit 7b81bee

Please sign in to comment.