From 7b9d88ce2d827acd78b8c95c7f6c4859d9eeb6b9 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 23 Aug 2024 11:42:10 +0200 Subject: [PATCH] chore: only run tests on main otherwise it runs twice for renovate PRs --- .forgejo/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index df6af26..767f63c 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,7 +1,9 @@ name: checks on: - - push - - pull_request + push: + branches: + - 'main' + pull_request: env: GOPROXY: https://goproxy.io,direct