Skip to content

Commit

Permalink
Fixed condition in test workflow (#4784)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen authored Oct 22, 2024
1 parent aa3f046 commit 26a4ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number || github.event.workflow_run.pull_requests[0].number }}
PULL_REQUEST_HEAD_REF: |-
${{
(github.event.pull_request.head.repo.full_name || github.repository)
(github.event.pull_request.head.repo.full_name == github.repository)
&& (github.event.pull_request.head.ref || github.event.workflow_run.head_branch)
|| (github.event.pull_request.head.sha || github.event.workflow_run.head_sha)
}}
Expand Down

0 comments on commit 26a4ef3

Please sign in to comment.