Skip to content

Commit f647a18

Browse files
committed
build: skip continuous integration workflow for release PRs
1 parent df3b07d commit f647a18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
jobs:
1111
build:
1212
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
13+
14+
if: >-
15+
github.event_name == 'workflow_dispatch' ||
16+
(github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'release-please--'))
17+
1318
runs-on: ${{ matrix.operating-system }}
1419
continue-on-error: ${{ matrix.experimental == 'Yes' }}
1520
env: { JAVA_OPTS: -Djdk.io.File.enableADS=true }

0 commit comments

Comments
 (0)