diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 971fe0d..2801d6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -378,6 +378,7 @@ jobs: VERSION="${{ steps.meta.outputs.version }}" CURRENT_BRANCH="${{ github.ref_name }}" TOKEN="${{ secrets.GA_TOKEN }}" + TOKEN="${{ secrets.GA_TOKEN }}" git config --local user.email "gitea-actions[bot]@mokoconsulting.tech" git config --local user.name "gitea-actions[bot]" @@ -385,6 +386,9 @@ jobs: git commit -m "chore: update ${STABILITY} SHA-256 for ${VERSION} [skip ci]" \ --author="gitea-actions[bot] " + # 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" + # Push to current branch git push || true