Fix: use inline secrets for push URL (env vars not expanding)
Some checks failed
Repo Health / Access control (push) Successful in 1s
Repo Health / Release configuration (push) Failing after 3s
Repo Health / Scripts governance (push) Successful in 3s
Repo Health / Repository health (push) Failing after 3s
Auto-Update SHA Hash / Update SHA-256 Hash in updates.xml (release) Failing after 14s

This commit is contained in:
Jonathan Miller
2026-04-18 12:38:02 -05:00
parent ead1872809
commit fdabeaea72

View File

@@ -386,8 +386,8 @@ jobs:
git commit -m "chore: update ${STABILITY} SHA-256 for ${VERSION} [skip ci]" \
--author="gitea-actions[bot] <gitea-actions[bot]@mokoconsulting.tech>"
# Set push URL with GA_TOKEN for authenticated pushes
git remote set-url origin "https://jmiller:${TOKEN}@git.mokoconsulting.tech/${GITEA_ORG}/${GITEA_REPO}.git"
# Set push URL with GA_TOKEN for authenticated pushes (branch protection requires jmiller)
git remote set-url origin "https://jmiller:${{ secrets.GA_TOKEN }}@git.mokoconsulting.tech/${{ github.repository }}.git"
# Push to current branch
git push || true