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 2121 runs-on : ubuntu-22.04
2222 outputs :
2323 status : ${{ steps.set-output.outputs.status }}
24+ conclusion : ${{ steps.set-output.outputs.conclusion }}
2425 steps :
2526 - name : Checkout
2627 uses : actions/checkout@v4
@@ -113,6 +114,8 @@ jobs:
113114 --input - \
114115 /repos/$GITHUB_REPOSITORY/check-runs/$CHECK_RUN_ID
115116
117+ echo "conclusion=$conclusion" >> "$GITHUB_OUTPUT
118+
116119 - name : Set output
117120 id : set-output
118121 run : |
@@ -124,7 +127,7 @@ jobs:
124127
125128 update-release :
126129 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'
128131 uses : ./.github/workflows/update-release.yml
129132 with :
130133 head-sha : ${{ inputs.head-sha }}
You can’t perform that action at this time.
0 commit comments