fix(ci): use secrets.GITHUB_TOKEN in git auth step, not shell var
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build (pull_request) Successful in 3m24s

This commit is contained in:
2026-06-12 14:52:49 -04:00
parent 0a620720b6
commit ef0c472e28
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@scm.cabillot.eu/perso/opencode.git"
git remote set-url origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@scm.cabillot.eu/perso/opencode.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}