File tree Expand file tree Collapse file tree 2 files changed +8
-25
lines changed Expand file tree Collapse file tree 2 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 16
16
debug : true
17
17
java-version : 21
18
18
build-command : ./gradlew build coverage
19
-
20
- release :
21
- uses : ./.github/workflows/release-auto.yml
22
- needs : build
23
- secrets : inherit
24
- if : |
25
- needs.build.result == 'success'
26
- && github.event_name == 'push'
27
- && github.ref_name == github.event.repository.default_branch || (startsWith(github.ref_name, 'v') && endsWith(github.ref_name, '.x.x'))
28
- with :
29
- security-updates-only : true
30
- consider-snapshot : true
Original file line number Diff line number Diff line change 13
13
type : boolean
14
14
required : false
15
15
default : false
16
- # Called from build
17
- workflow_call :
18
- inputs :
19
- security-updates-only :
20
- type : boolean
21
- required : false
22
- default : false
23
- consider-snapshot :
24
- type : boolean
25
- required : false
26
- default : false
16
+ workflow_run :
17
+ workflows : [ "Build" ]
18
+ types : [ completed ]
19
+ branches :
20
+ - main
21
+ - v*x.x
27
22
schedule :
28
23
# at 5:30 UTC every other month
29
24
- cron : " 30 5 1 */2 *"
33
28
uses : coditory/workflows/.github/workflows/release-auto-check.yml@v1
34
29
secrets : inherit
35
30
with :
36
- security-updates-only : ${{ inputs.security-updates-only }}
31
+ security-updates-only : ${{ inputs.security-updates-only || github.event_name == 'workflow_run' }}
37
32
debug : true
38
33
39
34
release :
47
42
needs : check
48
43
secrets : inherit
49
44
if : |
50
- inputs.consider-snapshot
45
+ ( inputs.consider-snapshot || github.event_name == 'workflow_run')
51
46
&& needs.check.outputs.release != 'true'
52
47
&& needs.check.outputs.skip-code != 'no-changes'
53
48
with :
You can’t perform that action at this time.
0 commit comments