From c5fac021e5ff3674a9992369808e587cb59a0fa6 Mon Sep 17 00:00:00 2001 From: buffet Date: Tue, 7 May 2024 21:07:35 +0200 Subject: [PATCH] ci: only run CI on push if it goes to main --- .forgejo/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 276fcc7..9e7d015 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -1,4 +1,9 @@ -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + jobs: check: runs-on: ubuntu-latest