Skip to content

Commit 42ca655

Browse files
committed
Respect [skip-ci] comments in lanuchers and spec tests
1 parent ec1b115 commit 42ca655

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/launchers.yml

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
linux-x86_64:
88
name: Deploy and Test on Linux x64 architecture
99
runs-on: ubuntu-latest
10+
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]') ) ||
11+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3' )
1012
steps:
1113
- uses: actions/checkout@v4
1214
- name: Set up JDK 17
@@ -43,6 +45,8 @@ jobs:
4345
mac-x86_64:
4446
name: Deploy and Test on Mac x64 architecture
4547
runs-on: macos-13
48+
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]') ) ||
49+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3' )
4650
steps:
4751
- uses: actions/checkout@v4
4852
- name: Set up JDK 17
@@ -62,6 +66,8 @@ jobs:
6266
mac-aarch64:
6367
name: Deploy and Test on Mac ARM64 architecture
6468
runs-on: macos-latest
69+
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]') ) ||
70+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3' )
6571
steps:
6672
- uses: actions/checkout@v4
6773
- name: Set up JDK 17
@@ -81,6 +87,8 @@ jobs:
8187
win-x86_64:
8288
name: Deploy and Test on Windows x64 architecture
8389
runs-on: windows-latest
90+
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]') ) ||
91+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3' )
8492
steps:
8593
- uses: actions/checkout@v4
8694
- name: Set up JDK 17

.github/workflows/spec.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ env:
1616
jobs:
1717
specification:
1818
runs-on: ubuntu-latest
19+
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]')) ||
20+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3') ||
21+
github.event_name == 'push' ||
22+
github.event_name == 'merge_group'
1923
defaults:
2024
run:
2125
working-directory: ./docs/_spec

0 commit comments

Comments
 (0)