Skip to content

Commit fa93e27

Browse files
committed
ci: skip PR test job for dev to main release PRs
1 parent b4c06fb commit fa93e27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212

1313
jobs:
1414
test-pr:
15-
if: github.event_name == 'pull_request'
15+
if: >
16+
github.event_name == 'pull_request' &&
17+
!(github.event.pull_request.head.ref == 'dev' && github.event.pull_request.base.ref == 'main')
1618
name: PR / Tests (ubuntu)
1719
runs-on: ubuntu-latest
1820

0 commit comments

Comments
 (0)