Skip to content

Commit bce02c9

Browse files
authored
fix(ci): use env vars instead of template expressions in run blocks (zizmor) (#34)
1 parent 3edce06 commit bce02c9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/weekly-update.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,16 @@ jobs:
214214
- name: Set final status
215215
id: final
216216
if: always()
217+
env:
218+
UPDATE_SUCCESS: ${{ steps.update.outputs.success }}
219+
TESTS_SUCCESS: ${{ steps.tests.outputs.success }}
220+
FIX_SUCCESS: ${{ steps.claude.outputs.success }}
217221
run: |
218-
UPDATE="${{ steps.update.outputs.success }}"
219-
TESTS="${{ steps.tests.outputs.success }}"
220-
FIX="${{ steps.claude.outputs.success }}"
221-
222-
if [ "$UPDATE" != "true" ]; then
222+
if [ "$UPDATE_SUCCESS" != "true" ]; then
223223
echo "success=false" >> $GITHUB_OUTPUT
224-
elif [ "$TESTS" = "true" ]; then
224+
elif [ "$TESTS_SUCCESS" = "true" ]; then
225225
echo "success=true" >> $GITHUB_OUTPUT
226-
elif [ "$FIX" = "true" ]; then
226+
elif [ "$FIX_SUCCESS" = "true" ]; then
227227
echo "success=true" >> $GITHUB_OUTPUT
228228
else
229229
echo "success=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)