File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 39
39
"ref": "{{ build.branch }}",
40
40
"inputs": {
41
41
"github_sha": "{{ build.commit }}",
42
- "success ": {{ if eq build.status "success" }}true{{ else }}false{{ end }}
42
+ "drone_succeeded ": {{ if eq build.status "success" }}true{{ else }}false{{ end }}
43
43
}
44
44
}
45
45
debug : true
@@ -52,6 +52,6 @@ trigger:
52
52
- pull_request
53
53
---
54
54
kind : signature
55
- hmac : 6b45d423ba2a48653d4005108a387ca87a5fbc312624d026233e75e331e41800
55
+ hmac : 02253cd10dcc7d05f8fe6077d03b053107e646a331b6b54566e570f62bdd1af1
56
56
57
57
...
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
- success :
9
+ drone_succeeded :
10
10
description : " did drone tests pass or fail?"
11
11
required : true
12
12
type : boolean
18
18
# This one should pass
19
19
cms-followup :
20
20
runs-on : ubuntu-24.04
21
+ if : ${{ inputs.drone_succeeded }}
21
22
# uses: ./.github/workflows/cms-followup.yml
22
23
steps :
23
24
- run : |
42
43
# This one should fail
43
44
k8s-followup :
44
45
runs-on : ubuntu-24.04
46
+ if : ${{ inputs.drone_succeeded }}
45
47
# uses: ./.github/workflows/k8s-followup.yml
46
48
steps :
47
49
- run : |
You can’t perform that action at this time.
0 commit comments