Fix ref injection in translate-strings workflow

This commit is contained in:
shamoon
2025-12-28 20:47:44 -08:00
parent 99724a25a2
commit 8471507115

View File

@@ -12,9 +12,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v6
env:
GH_REF: ${{ github.ref }} # sonar rule:githubactions:S7630 - avoid injection
with:
token: ${{ secrets.PNGX_BOT_PAT }}
ref: ${{ github.head_ref }}
ref: $GH_REF
- name: Set up Python
id: setup-python
uses: actions/setup-python@v6