From 8d067256a024f44f15add1e62284a53c094cc8a9 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Thu, 7 May 2026 16:08:42 +0200 Subject: [PATCH] fix(ci): standardize Gitea git auth env vars in workflows Replace `GITEA_TOKEN`/`GITEA_HOST` with `GIT_TOKEN`/`GIT_HOST` in workflow credential setup and clone URLs for affected AUR jobs. --- .gitea/workflows/deskflow-bin.yaml | 4 ++-- .gitea/workflows/open-video-downloader-appimage.yaml | 4 ++-- .gitea/workflows/open-video-downloader-bin.yaml | 4 ++-- .gitea/workflows/reflex-appimage.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deskflow-bin.yaml b/.gitea/workflows/deskflow-bin.yaml index e951beb..a9b914c 100644 --- a/.gitea/workflows/deskflow-bin.yaml +++ b/.gitea/workflows/deskflow-bin.yaml @@ -20,8 +20,8 @@ jobs: git config --global user.name "${GIT_NAME}" git config --global user.email "${GIT_EMAIL}" git config --global credential.helper store - echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials - git clone --depth 1 https://${GITEA_HOST}/aur/deskflow-bin + echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GIT_HOST}/aur/deskflow-bin cd deskflow-bin source PKGBUILD ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|v||') diff --git a/.gitea/workflows/open-video-downloader-appimage.yaml b/.gitea/workflows/open-video-downloader-appimage.yaml index 7f352ba..8edc4b1 100644 --- a/.gitea/workflows/open-video-downloader-appimage.yaml +++ b/.gitea/workflows/open-video-downloader-appimage.yaml @@ -20,8 +20,8 @@ jobs: git config --global user.name "${GIT_NAME}" git config --global user.email "${GIT_EMAIL}" git config --global credential.helper store - echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials - git clone --depth 1 https://${GITEA_HOST}/aur/open-video-downloader-appimage + echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GIT_HOST}/aur/open-video-downloader-appimage cd open-video-downloader-appimage source PKGBUILD ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|app-v||') diff --git a/.gitea/workflows/open-video-downloader-bin.yaml b/.gitea/workflows/open-video-downloader-bin.yaml index 26c6e8f..c9ead6c 100644 --- a/.gitea/workflows/open-video-downloader-bin.yaml +++ b/.gitea/workflows/open-video-downloader-bin.yaml @@ -20,8 +20,8 @@ jobs: git config --global user.name "${GIT_NAME}" git config --global user.email "${GIT_EMAIL}" git config --global credential.helper store - echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials - git clone --depth 1 https://${GITEA_HOST}/aur/open-video-downloader-bin + echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GIT_HOST}/aur/open-video-downloader-bin cd open-video-downloader-bin source PKGBUILD ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|app-v||') diff --git a/.gitea/workflows/reflex-appimage.yaml b/.gitea/workflows/reflex-appimage.yaml index 244c27b..77f357f 100644 --- a/.gitea/workflows/reflex-appimage.yaml +++ b/.gitea/workflows/reflex-appimage.yaml @@ -20,8 +20,8 @@ jobs: git config --global user.name "${GIT_NAME}" git config --global user.email "${GIT_EMAIL}" git config --global credential.helper store - echo "https://${GIT_EMAIL//@/%40}:${GITEA_TOKEN}@${GITEA_HOST}" > ~/.git-credentials - git clone --depth 1 https://${GITEA_HOST}/aur/reflex-appimage + echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@${GIT_HOST}" > ~/.git-credentials + git clone --depth 1 https://${GIT_HOST}/aur/reflex-appimage cd reflex-appimage source PKGBUILD ./push.sh $(curl -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/${_srcmntr}/${_srcname}/releases/latest | jq ".tag_name" | sed 's|"||g;s|v||')