From b99bedbeaeccc585dcbb5770e352ade776c3f818 Mon Sep 17 00:00:00 2001 From: moi15moi Date: Thu, 26 Sep 2024 21:23:24 -0400 Subject: [PATCH] [workflows\run_test] Don't run the job twice Before this commit, on each PR, it runned the job twice. Now, it doesn't. --- .github/workflows/run_test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index ecb325d..66a1244 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -1,6 +1,10 @@ name: Run Tests -on: [push, pull_request] +on: + push: + branches: + - 'main' + pull_request: jobs: run-tests: