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"