From 0b36b432f24f65052dcefc9f21e13a3447548d10 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 31 Oct 2026 11:20:00 +0100 Subject: [PATCH] ci: publish test report only on push events Pull request runs have no branch to push the report to. Co-Authored-By: Claude Opus 5.5 --- .gitea/actions/publish-report/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index f7a2164..519d632 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -111,6 +111,8 @@ runs: EOF - name: Commit Test-Report to Repo + # pull requests have no branch to push to (ref_name is e.g. "1/merge") + if: ${{ github.event_name == 'push' }} shell: bash env: GIT_USER: gitea-actions-bot