From b2ab02cfc596b3560fb3d67993ad9a2b9440e3f3 Mon Sep 17 00:00:00 2001 From: Vishnu Singh Date: Sun, 27 Aug 2023 22:33:19 +0530 Subject: [PATCH] ci: run test pipeline only on main branch --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2cc298f..b9fc10c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,9 @@ name: tests -on: [push] +on: + push: + branches: [main] + pull_request: + branches: [main] jobs: unit-tests: runs-on: ubuntu-latest