Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3dab0b3

Browse files
committed
build: skip the experiemental build workflow if a release commit is pushed to master
1 parentf647a18 commit3dab0b3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

‎.github/workflows/continuous_integration.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
name:CI
22

33
on:
4-
push:
5-
branches:[master,v1]
64
pull_request:
7-
branches:[master,v1]
5+
branches:[master]
86
workflow_dispatch:
97

108
jobs:
119
build:
1210
name:Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
1311

12+
# Skip this job if triggered by a release PR
1413
if:>-
1514
github.event_name == 'workflow_dispatch' ||
1615
(github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'release-please--'))

‎.github/workflows/experimental_continuous_integration.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,19 @@ name: CI Experimental
22

33
on:
44
push:
5-
branches:[master,v1]
5+
branches:[master]
6+
67
workflow_dispatch:
78

89
jobs:
910
build:
1011
name:Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
12+
13+
# Skip this job if triggered by pushing a release commit
14+
if:>-
15+
github.event_name == 'workflow_dispatch' ||
16+
(github.event_name == 'push' && !startsWith(github.event.head_commit.message, 'chore: release '))
17+
1118
runs-on:${{ matrix.operating-system }}
1219
continue-on-error:true
1320
env:{ JAVA_OPTS: -Djdk.io.File.enableADS=true }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp