Skip to content

Commit dc4c0dc

Browse files
committed
ci: fix typo in if pull_request(_target)
1 parent c71ede8 commit dc4c0dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cpu-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
timeout-minutes: 10
3434
steps:
3535
- uses: actions/checkout@v4
36-
if: github.event_name != 'pull_request'
36+
if: github.event_name != 'pull_request_target'
3737
- uses: actions/checkout@v4
38-
if: github.event_name == 'pull_request'
38+
if: github.event_name == 'pull_request_target'
3939
with:
4040
ref: ${{ github.event.pull_request.head.sha }}
4141
- uses: actions/setup-python@v5
@@ -71,9 +71,9 @@ jobs:
7171
timeout-minutes: 25
7272
steps:
7373
- uses: actions/checkout@v4
74-
if: github.event_name != 'pull_request'
74+
if: github.event_name != 'pull_request_target'
7575
- uses: actions/checkout@v4
76-
if: github.event_name == 'pull_request'
76+
if: github.event_name == 'pull_request_target'
7777
with:
7878
ref: ${{ github.event.pull_request.head.sha }}
7979
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)