Skip to content

Commit b1acaea

Browse files
committed
fix(ci): use env vars instead of template expressions in run blocks (zizmor)
1 parent 8ea4611 commit b1acaea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/weekly-update.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,13 @@ jobs:
324324
- name: Set final status
325325
id: final
326326
if: always()
327+
env:
328+
UPDATE_SUCCESS: ${{ steps.update.outputs.success }}
329+
TESTS_PASSED: ${{ steps.tests.outputs.tests-passed }}
330+
FIX_SUCCESS: ${{ steps.claude.outputs.success }}
327331
run: |
328-
if [ "${{ steps.update.outputs.success }}" = "true" ] && \
329-
( [ "${{ steps.tests.outputs.tests-passed }}" = "true" ] || [ "${{ steps.claude.outputs.success }}" = "true" ] ); then
332+
if [ "$UPDATE_SUCCESS" = "true" ] && \
333+
( [ "$TESTS_PASSED" = "true" ] || [ "$FIX_SUCCESS" = "true" ] ); then
330334
echo "success=true" >> $GITHUB_OUTPUT
331335
else
332336
echo "success=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)