From 9733c41105e151f957b60ce26c8fc6d17bcf5a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 12 May 2025 16:05:52 +0200 Subject: [PATCH 1/2] don't run impure checks on main We need to make sure that these tests already pass in pull requests. There is often no point running this on main because it's already to late at this point. --- .gitea/workflows/checks.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index a7e6b5286..e0e576a40 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -1,9 +1,6 @@ name: checks on: pull_request: - push: - branches: - - main jobs: checks-impure: runs-on: nix From fc8bc24b03f880ed001d1877fd1c5cc597b9c03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 12 May 2025 16:44:54 +0200 Subject: [PATCH 2/2] checks/update-clan-core-for-check: add email/name --- .gitea/workflows/update-clan-core-for-checks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/update-clan-core-for-checks.yml b/.gitea/workflows/update-clan-core-for-checks.yml index 1d23e5f89..7746fdc03 100644 --- a/.gitea/workflows/update-clan-core-for-checks.yml +++ b/.gitea/workflows/update-clan-core-for-checks.yml @@ -15,7 +15,8 @@ jobs: run: nix run .#update-clan-core-for-checks - name: Create pull request run: | - git commit -am "" + export GIT_AUTHOR_NAME=clan-bot GIT_AUTHOR_EMAIL=clan-bot@clan.lol GIT_AUTHOR_NAME=clan-bot GIT_COMMITTER_EMAIL=clan-bot@clan.lol + git commit -am "Update pinned clan-core for checks" git push origin HEAD:update-clan-core-for-checks curl -X POST \ -H "Authorization: token $GITEA_TOKEN" \