From e3b509b53e07cb0c667643692a11a3551691c096 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 31 Dec 2025 23:20:10 +0100 Subject: [PATCH] fixed workflow (maybe?) --- .gitea/workflows/update-child-repos.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/update-child-repos.yaml b/.gitea/workflows/update-child-repos.yaml index 0a7cc02..b3676a2 100644 --- a/.gitea/workflows/update-child-repos.yaml +++ b/.gitea/workflows/update-child-repos.yaml @@ -19,7 +19,12 @@ jobs: steps: - uses: actions/checkout@v4 - run: | - export GIT_TOKEN=${{ secrets.GIT_TOKEN }} + git config --global user.name "${GIT_NAME}" + git config --global user.email "${GIT_EMAIL}" git config --global credential.helper store - echo "https://bryan%40pedini.dev:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials + echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials ./update_child_repos.sh + env: + GIT_NAME: ${{ secrets.GIT_NAME }} + GIT_EMAIL: ${{ secrets.GIT_EMAIL }} + GIT_TOKEN: ${{ secrets.GIT_TOKEN }}