Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 02e255e

Browse files
committed
Opting for manual release trigger
1 parent 1a9adf7 commit 02e255e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/cd.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ on:
1717
# Note: Change this default to true,
1818
# if the checkbox should be checked by default.
1919
default: false
20+
###### Opting for manual release trigger so commented check_run trigger
2021
# If you don't want any automatic trigger in general, then
2122
# the following check_run trigger lines should all be commented.
2223
# Note: Consider the use case #2 config for 'validate_only' below
2324
# as an alternative option!
24-
check_run:
25-
types:
26-
- completed
25+
# check_run:
26+
# types:
27+
# - completed
2728

2829
permissions:
2930
checks: read
@@ -33,6 +34,7 @@ jobs:
3334
maven-cd:
3435
uses: jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
3536
with:
37+
###### Opting for a manual release trigger so updated validate_only accordingly
3638
# Comment / uncomment the validate_only config appropriate to your preference:
3739
#
3840
# Use case #1 (automatic release):
@@ -41,14 +43,14 @@ jobs:
4143
# - Perform a validation only run with drafting a release note,
4244
# if manually triggered AND inputs.validate_only has been checked.
4345
#
44-
validate_only: ${{ inputs.validate_only == true }}
46+
# validate_only: ${{ inputs.validate_only == true }}
4547
#
4648
# Alternative use case #2 (no automatic release):
4749
# - Same as use case #1 - but:
4850
# - Let any check_run trigger a validate_only run.
4951
# => enforce the release job to be skipped.
5052
#
51-
#validate_only: ${{ inputs.validate_only == true || github.event_name == 'check_run' }}
53+
validate_only: ${{ inputs.validate_only == true || github.event_name == 'check_run' }}
5254
secrets:
5355
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
5456
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

0 commit comments

Comments
 (0)