Merge pull request 'update-clan-core-for-checks: use ci bot token for prs' (#3604) from ci-fixes into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3604
This commit is contained in:
@@ -15,14 +15,14 @@ jobs:
|
|||||||
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:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
CI_BOT_TOKEN: ${{ secrets.CI_BOT_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"
|
||||||
git push origin +HEAD:update-clan-core-for-checks
|
git push origin +HEAD:update-clan-core-for-checks
|
||||||
set -x
|
set -x
|
||||||
nix run --inputs-from . nixpkgs#curl -- -X POST \
|
nix run --inputs-from . nixpkgs#curl -- -X POST \
|
||||||
-H "Authorization: token $GITEA_TOKEN" \
|
-H "Authorization: token $CI_BOT_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"head": "update-clan-core-for-checks",
|
"head": "update-clan-core-for-checks",
|
||||||
|
|||||||
Reference in New Issue
Block a user