update-clan-core-for-checks: pass GITEA_TOKEN correctly

This commit is contained in:
Jörg Thalheim
2025-05-13 10:06:29 +02:00
parent 4464470577
commit 645be8a3ba

View File

@@ -14,6 +14,8 @@ jobs:
- name: Update clan-core for checks - name: Update clan-core for checks
run: nix run .#update-clan-core-for-checks run: nix run .#update-clan-core-for-checks
- name: Create pull request - name: Create pull request
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: | 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 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" git commit -am "Update pinned clan-core for checks"
@@ -28,4 +30,4 @@ jobs:
"title": "Automated Update: Clan Core", "title": "Automated Update: Clan Core",
"body": "This PR updates the pinned clan-core for checks." "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"