Skip to content

A local-first personal finance app

[AI] zizmor: fix template injection in setup action's Lage cache step (#7858)

Matiss Janis Aboltins62d7c0e479de
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 9ecdcf6865..5571eb89b0 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -39,8 +39,10 @@ runs:
path: ${{ format('{0}/**/node_modules', inputs.working-directory) }}
key: yarn-v1-${{ runner.os }}-${{ steps.get-node.outputs.version }}-${{ hashFiles(format('{0}/**/yarn.lock', inputs.working-directory)) }}
- name: Ensure Lage cache directory exists
- run: mkdir -p ${{ format('{0}/.lage', inputs.working-directory) }}
+ run: mkdir -p "$WORKING_DIRECTORY/.lage"
shell: bash
+ env:
+ WORKING_DIRECTORY: ${{ inputs.working-directory }}
- name: Cache Lage
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
if: ${{ inputs.cache == 'true' }}
diff --git a/upcoming-release-notes/7858.md b/upcoming-release-notes/7858.md
new file mode 100644
index 0000000000..511189e836
--- /dev/null
+++ b/upcoming-release-notes/7858.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Fix template injection in setup action's Lage cache step.