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
2829permissions :
2930 checks : read
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