From c45a4e6d32f2a713a30fb226ea2e8c79d524421e Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 1 May 2026 16:37:37 +0000 Subject: [PATCH] ci: Fix triggers (#882) Currently on a branch a workflow got triggered 2x one time on push and one time as its a PR Now it only gets triggered on PR and on push onto main Reviewed-on: https://gitea.com/gitea/runner/pulls/882 Reviewed-by: Lunny Xiao Co-authored-by: Nicolas Co-committed-by: Nicolas --- .gitea/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 545fb337..6820bc80 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -1,7 +1,9 @@ name: checks on: - - push - - pull_request + push: + branches: + - main + pull_request: jobs: lint: @@ -17,4 +19,4 @@ jobs: - name: build run: make build - name: test - run: make test + run: make test \ No newline at end of file