From 645be8a3baaf942ea9be6d515a5778ff5b35f4de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 13 May 2025 10:06:29 +0200 Subject: [PATCH] update-clan-core-for-checks: pass GITEA_TOKEN correctly --- .gitea/workflows/update-clan-core-for-checks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/update-clan-core-for-checks.yml b/.gitea/workflows/update-clan-core-for-checks.yml index bffabd43a..760a32388 100644 --- a/.gitea/workflows/update-clan-core-for-checks.yml +++ b/.gitea/workflows/update-clan-core-for-checks.yml @@ -14,6 +14,8 @@ jobs: - name: Update clan-core for checks run: nix run .#update-clan-core-for-checks - name: Create pull request + env: + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} run: | export GIT_AUTHOR_NAME=clan-bot GIT_AUTHOR_EMAIL=clan-bot@clan.lol GIT_COMMITTER_NAME=clan-bot GIT_COMMITTER_EMAIL=clan-bot@clan.lol git commit -am "Update pinned clan-core for checks" @@ -28,4 +30,4 @@ jobs: "title": "Automated Update: Clan Core", "body": "This PR updates the pinned clan-core for checks." }' \ - "${GITEA_SERVER_URL}/api/v1/repos/${GITEA_OWNER}/${GITEA_REPO}/pulls" + "http://git.clan.lol/api/v1/repos/clan/clan-core/pulls"