ci: attempting to use manual git credential config
Release-plz / Release-plz PR (push) Failing after 0s
Release-plz / Release-plz release (push) Successful in 1m31s

This commit is contained in:
2026-09-10 20:58:06 -05:00
parent 135ea657fa
commit c365c2b9e5
+5 -10
View File
@@ -74,17 +74,12 @@ jobs:
- *install-cargo-semver - *install-cargo-semver
- *install-release-plz - *install-release-plz
- name: Configure git remote with token - name: install git
- name: Fill Credentials
run: | run: |
OWNER="${GITEA_REPOSITORY_OWNER:-${GITEA_REPO_OWNER}}" git config --global credential.helper store
REPO="${GITEA_REPOSITORY_NAME:-${GITEA_REPO_NAME}}" echo "https://ci-bot:${{ secret.GITEA_TOKEN }}@gitea.melfely.com" > ~/.git-credentials
HOST="${GITEA_HOST:-gitea.melfely.com}"
git remote set-url origin "https://git:${GITEA_TOKEN}@${HOST}/${OWNER}/${REPO}.git"
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_HOST: ${{ secrets.GITEA_HOST }}
GITEA_REPOSITORY_OWNER: ${{ gitea.repository.owner }}
GITEA_REPOSITORY_NAME: ${{ gitea.repository.name }}
- name: Run release-plz release-pr - name: Run release-plz release-pr
run: | run: |