From 56bfc81cd1b3a8676f45c735e127fd8474405334 Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Thu, 7 Dec 2023 15:34:35 -0600 Subject: [PATCH] Fix test not to run on both push and pull_request for PRs --- .github/workflows/main.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ff5175..2e4cde3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,16 @@ -on: [push, pull_request, workflow_dispatch] name: tests +on: + pull_request: + merge_group: + types: [checks_requested] + push: + branches: + - 'main' + workflow_dispatch: + schedule: + - cron: 0 0 * * * + jobs: test: runs-on: ${{ matrix.os }}