File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
kind : pipeline
2
3
type : docker
3
4
name : on-droneci-complete
@@ -36,6 +37,6 @@ trigger:
36
37
- pull_request
37
38
---
38
39
kind : signature
39
- hmac : 4a1be709cc2c667d3227009365aa340a7779a9d2f439c2c7c23f871c945d6ed3
40
+ hmac : 52eb4a39f30b611ecc75ad2636322ff338d904ede0f4ae6f09b6d033cbcf6aee
40
41
41
42
...
Original file line number Diff line number Diff line change 6
6
github_sha :
7
7
description : " equivalent to github.sha in an ordinary workflow"
8
8
required : true
9
- drone_succeeded :
10
- description : " did drone tests pass or fail?"
9
+ drone_build_status :
11
10
required : true
12
- type : boolean
11
+ type : choice
12
+ options :
13
+ - success
14
+ - failure
13
15
14
16
permissions :
15
17
statuses : write
18
20
# This one should pass
19
21
cms-followup :
20
22
runs-on : ubuntu-24.04
21
- if : ${{ inputs.drone_succeeded }}
23
+ if : ${{ inputs.drone_build_status == 'success' }}
22
24
# uses: ./.github/workflows/cms-followup.yml
23
25
steps :
24
26
- run : |
43
45
# This one should fail
44
46
k8s-followup :
45
47
runs-on : ubuntu-24.04
46
- if : ${{ inputs.drone_succeeded }}
48
+ if : ${{ inputs.drone_build_status == 'success' }}
47
49
# uses: ./.github/workflows/k8s-followup.yml
48
50
steps :
49
51
- run : |
You can’t perform that action at this time.
0 commit comments