Skip to content

Commit 6c13f9a

Browse files
authored
Merge pull request #246 from yahonda/skip_ci_for_draft
Skip test_11g and test_gemfiles for draft pull requests
2 parents c0f3a15 + 92e24e2 commit 6c13f9a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test_11g.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ name: test_11g
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
69

710
jobs:
811
build:
12+
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
913

1014
runs-on: ubuntu-latest
1115
continue-on-error: true

.github/workflows/test_gemfiles.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,18 @@ name: test_gemfiles
22

33
on:
44
push:
5+
branches:
6+
- master
57
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
69

710
concurrency:
811
group: ${{ github.workflow }}-${{ github.ref }}
912
cancel-in-progress: true
1013

1114
jobs:
1215
build:
16+
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
1317

1418
runs-on: ubuntu-latest
1519
strategy:

0 commit comments

Comments
 (0)