Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix environment variable reference in workflow

shamoon2e6458dbcca7
diff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.yml
index 2d36d67ca..1a82a5cee 100644
--- a/.github/workflows/translate-strings.yml
+++ b/.github/workflows/translate-strings.yml
@@ -16,7 +16,7 @@ jobs:
GH_REF: ${{ github.ref }} # sonar rule:githubactions:S7630 - avoid injection
with:
token: ${{ secrets.PNGX_BOT_PAT }}
- ref: $GH_REF
+ ref: ${{ env.GH_REF }}
- name: Set up Python
id: setup-python
uses: actions/setup-python@v6