From 657ba9ac7fe5f58930f7ed39c359893469c65936 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 12 May 2023 17:30:53 -0300 Subject: [PATCH] Only test on-push for master and a specific branch name This avoids testing twice when pushing to the main repository, once for the push, and another for a PR. --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a350ca6d..05de2b21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,8 @@ name: test on: push: branches: - - "*" + - master + - "test-me-*" pull_request: branches: