.github: write the gc dry-run step as a block scalar

zizmor cannot locate expressions in a single-quoted scalar with '' escapes.
This commit is contained in:
Kristoffer Dalby committed 2026-11-20 19:47:15 +01:00
1 parent ace89a0e23
commit 51fd8dd1b6
1 file changed
+2 -1
+2 -1
View File
@@ -34,6 +34,7 @@ jobs:
- uses: NixOS/nix-installer-action@v1.0.0
- uses: Mic92/hestia@v3.1.0
- name: Run garbage collection
run: '"${HESTIA_BIN}" gc ${{ inputs.dry-run && ''--dry-run'' || '''' }}'
run: |
"${HESTIA_BIN}" gc ${{ inputs.dry-run && '--dry-run' || '' }}
env:
GITHUB_TOKEN: ${{ github.token }}