From 536ab5904682ba66af5d566ebbd07cb734d49015 Mon Sep 17 00:00:00 2001 From: Koen Baas Date: Thu, 4 Jun 2026 13:03:26 +0000 Subject: [PATCH] Update .gitea/workflows/pest.yml --- .gitea/workflows/pest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pest.yml b/.gitea/workflows/pest.yml index 44ad0b5..5932caf 100644 --- a/.gitea/workflows/pest.yml +++ b/.gitea/workflows/pest.yml @@ -136,7 +136,7 @@ jobs: PHP - name: Commit coverage badge - if: ${{ inputs.coverage_badge && gitea.event_name == 'push' }} + if: ${{ inputs.coverage_badge && gitea.event_name == 'push' && gitea.ref_name == gitea.event.repository.default_branch }} run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" git config user.name "gitea-actions"