From f3e04ddad8513dba0d0d2f52ba2d91fcf8255ac1 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Fri, 9 Dec 2022 09:31:00 +0100 Subject: [PATCH] ci: run only on main and PRs to main branch --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19e49a6..f57000f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,13 @@ name: Run Tests on: - - push - - pull_request + push: + branches: + - main + + pull_request: + branches: + - main jobs: test: