From 0b2b196662db795ffa2a510dccca9536fb44ea27 Mon Sep 17 00:00:00 2001 From: Justin Perez Date: Wed, 5 Jul 2023 11:20:51 -0700 Subject: [PATCH] ci: limit smoke tests push trigger to main Every PR runs two copies of the smoke test, one because a user pushed to their local branch, and another from the pull request trigger. I think it's best to leave `push` and `pull_request` triggers, as I'm not sure if `push` will trigger on a PR from a fork. --- .github/workflows/smoke-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index e1be94c9e..a6e71e4c3 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -2,6 +2,8 @@ name: Smoke Tests on: push: + branches: + - main pull_request: schedule: - cron: "0 0 * * *" # every day at midnight