From 15e45d0dbf6f71137679d94bb0b26247bfa181fb Mon Sep 17 00:00:00 2001 From: Koen Baas Date: Thu, 4 Jun 2026 12:52:07 +0000 Subject: [PATCH 1/2] 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 5b7bd2d..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' && gitea.ref == 'refs/heads/main' }} + 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" -- 2.52.0 From fb619816ba9863a73305af7afc8560f3918f1a1f Mon Sep 17 00:00:00 2001 From: Koen Baas Date: Thu, 4 Jun 2026 12:53:02 +0000 Subject: [PATCH 2/2] 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 5932caf..44ad0b5 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' && gitea.ref_name == gitea.event.repository.default_branch }} + if: ${{ inputs.coverage_badge && gitea.event_name == 'push' }} run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" git config user.name "gitea-actions" -- 2.52.0