File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 21
21
runs-on : ubuntu-22.04
22
22
outputs :
23
23
status : ${{ steps.set-output.outputs.status }}
24
+ conclusion : ${{ steps.set-output.outputs.conclusion }}
24
25
steps :
25
26
- name : Checkout
26
27
uses : actions/checkout@v4
@@ -113,6 +114,8 @@ jobs:
113
114
--input - \
114
115
/repos/$GITHUB_REPOSITORY/check-runs/$CHECK_RUN_ID
115
116
117
+ echo "conclusion=$conclusion" >> "$GITHUB_OUTPUT
118
+
116
119
- name : Set output
117
120
id : set-output
118
121
run : |
@@ -124,7 +127,7 @@ jobs:
124
127
125
128
update-release :
126
129
needs : validate-check-runs
127
- if : needs.validate-check-runs.outputs.status == 'completed'
130
+ if : needs.validate-check-runs.outputs.status == 'completed' && needs.validate-check-runs.outputs.conclusion == 'success'
128
131
uses : ./.github/workflows/update-release.yml
129
132
with :
130
133
head-sha : ${{ inputs.head-sha }}
You can’t perform that action at this time.
0 commit comments