From f5431c54cfd4f42f20e40fa806a2c464ebde993e Mon Sep 17 00:00:00 2001 From: Emil Simeonov Date: Mon, 22 Jun 2026 00:38:27 +0200 Subject: [PATCH] =?UTF-8?q?GRM-45:=20ci:=20fix=20badges=20push=20=E2=80=94?= =?UTF-8?q?=20skip=20pre-commit=20on=20orphan=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The badges job failed because git commit triggered pre-commit hooks on the orphan branch where .pre-commit-config.yaml was removed by git rm -rf . Added --no-verify and PRE_COMMIT_ALLOW_NO_CONFIG=1. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2e060f1..94d6f8e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -194,6 +194,8 @@ jobs: . .venv/bin/activate python3 scripts/generate_badges.py --output-dir .badges/ - name: Push badges to badges branch + env: + PRE_COMMIT_ALLOW_NO_CONFIG: "1" run: | git config user.name "gitea-actions-bot" git config user.email "actions@oblachno.fyi" @@ -201,5 +203,5 @@ jobs: git rm -rf . cp -r .badges/* . git add *.json - git commit -m "Update badges [skip ci]" + git commit --no-verify -m "Update badges [skip ci]" git push origin badges --force