Fix environment variable reference in workflow

This commit is contained in:
shamoon
2025-12-28 20:50:04 -08:00
parent 8471507115
commit 2e6458dbcc

View File

@@ -16,7 +16,7 @@ jobs:
GH_REF: ${{ github.ref }} # sonar rule:githubactions:S7630 - avoid injection GH_REF: ${{ github.ref }} # sonar rule:githubactions:S7630 - avoid injection
with: with:
token: ${{ secrets.PNGX_BOT_PAT }} token: ${{ secrets.PNGX_BOT_PAT }}
ref: $GH_REF ref: ${{ env.GH_REF }}
- name: Set up Python - name: Set up Python
id: setup-python id: setup-python
uses: actions/setup-python@v6 uses: actions/setup-python@v6