Skip to content

Commit b144958

Browse files
authored
Merge branch 'OptimumCode:main' into main
2 parents 509d49a + 7b81bee commit b144958

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'
@@ -62,7 +62,7 @@ jobs:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
upload-coverage:
6464
runs-on: ubuntu-latest
65-
if: github.event.workflow_run.actor.name != 'dependabot[bot]' && github.repository == 'OptimumCode/json-schema-validator' && github.event.workflow_run.conclusion == 'success'
65+
if: github.event.workflow_run.actor.name != 'dependabot[bot]' && github.event.workflow_run.conclusion == 'success'
6666
steps:
6767
- name: 'Checkout Repository'
6868
uses: actions/checkout@v4

0 commit comments

Comments
 (0)