Skip to content

Commit 92e24e2

Browse files
yahondaclaude
andcommitted
Skip test_11g and test_gemfiles for draft pull requests
For draft PRs, only test.yml runs to give quick feedback. The heavier test_11g.yml and test_gemfiles.yml workflows are skipped until the PR is marked ready for review. Also limit push triggers to the master branch so feature branch pushes only run CI via the pull_request event. Follows the same pattern as rsim/oracle-enhanced#2509. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 464c728 commit 92e24e2

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)