Skip to content

Commit 3bd4a7a

Browse files
committed
Exclude build-sdk-package from when skip ci annotation is present
1 parent 42ca655 commit 3bd4a7a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1013,9 +1013,15 @@ jobs:
10131013
uses: ./.github/workflows/build-msi.yml
10141014
if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
10151015
# TODO: ADD A JOB THAT DEPENDS ON THIS TO TEST THE MSI
1016-
1016+
10171017
build-sdk-package:
10181018
uses: ./.github/workflows/build-sdk.yml
1019+
if:
1020+
(github.event_name == 'pull_request' && !contains(github.event.pull_request.body, '[skip ci]')) ||
1021+
(github.event_name == 'workflow_dispatch' && github.repository == 'scala/scala3') ||
1022+
(github.event_name == 'schedule' && github.repository == 'scala/scala3') ||
1023+
github.event_name == 'push' ||
1024+
github.event_name == 'merge_group'
10191025
with:
10201026
java-version: 8
10211027

0 commit comments

Comments
 (0)