Skip to content

Commit 142a6eb

Browse files
committed
Fix
1 parent 709bd35 commit 142a6eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: check-build
2727
run: |
2828
artifact_exists=${{ steps.artifact-exists.outputs.exists }}
29-
is_pr=${{ github.event_name == 'pull_request' }}
29+
is_pr=${{ github.event.pull_request.number != null }}
3030
is_performance_test=${{ matrix.type == 'performance' }}
3131
is_performance_enabled=${{ contains(github.event.pull_request.labels.*.name, 'perf_test') }}
3232

.github/workflows/hw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Evaluate if tests should be run
2323
id: check-tests
2424
run: |
25-
is_pr=${{ github.event_name == 'pull_request' }}
25+
is_pr=${{ github.event.pull_request.number != null }}
2626
is_performance_test=${{ matrix.type == 'performance' }}
2727
is_performance_enabled=${{ contains(github.event.pull_request.labels.*.name, 'perf_test') }}
2828

0 commit comments

Comments
 (0)