From 8665a5f7ee635f3ff825b77698841612c5c4ed36 Mon Sep 17 00:00:00 2001 From: Rodrigo V Honorato Date: Mon, 26 Feb 2024 15:24:11 +0100 Subject: [PATCH] Update unittests.yml to trigger pull request workflows only on the main branch --- .github/workflows/unittests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 238c3a2..b442bdf 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -1,7 +1,9 @@ name: unittests on: - ['push', 'pull_request'] + 'pull_request': + branches: + - main jobs: build: