Skip to content

Commit dc05c58

Browse files
committed
Fix test workflow condition to run on pull requests
1 parent 5b648dd commit dc05c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
test:
2828
name: Test
2929
runs-on: ubuntu-latest
30-
if: ${{ github.event.head_commit && !contains(github.event.head_commit.message, '[skip ci]') }}
30+
if: ${{ !contains(github.event_name == 'pull_request' && github.event.pull_request.title || github.event.head_commit.message || '', '[skip ci]') }}
3131

3232
steps:
3333
- name: Checkout repository

0 commit comments

Comments
 (0)