17
17
# Note: Change this default to true,
18
18
# if the checkbox should be checked by default.
19
19
default : false
20
+ # ##### Opting for manual release trigger so commented check_run trigger
20
21
# If you don't want any automatic trigger in general, then
21
22
# the following check_run trigger lines should all be commented.
22
23
# Note: Consider the use case #2 config for 'validate_only' below
23
24
# as an alternative option!
24
- check_run :
25
- types :
26
- - completed
25
+ # check_run:
26
+ # types:
27
+ # - completed
27
28
28
29
permissions :
29
30
checks : read
33
34
maven-cd :
34
35
uses : jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
35
36
with :
37
+ # ##### Opting for a manual release trigger so updated validate_only accordingly
36
38
# Comment / uncomment the validate_only config appropriate to your preference:
37
39
#
38
40
# Use case #1 (automatic release):
@@ -41,14 +43,14 @@ jobs:
41
43
# - Perform a validation only run with drafting a release note,
42
44
# if manually triggered AND inputs.validate_only has been checked.
43
45
#
44
- validate_only : ${{ inputs.validate_only == true }}
46
+ # validate_only: ${{ inputs.validate_only == true }}
45
47
#
46
48
# Alternative use case #2 (no automatic release):
47
49
# - Same as use case #1 - but:
48
50
# - Let any check_run trigger a validate_only run.
49
51
# => enforce the release job to be skipped.
50
52
#
51
- # validate_only: ${{ inputs.validate_only == true || github.event_name == 'check_run' }}
53
+ validate_only : ${{ inputs.validate_only == true || github.event_name == 'check_run' }}
52
54
secrets :
53
55
MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
54
56
MAVEN_TOKEN : ${{ secrets.MAVEN_TOKEN }}
0 commit comments