From 3de3c4febc0d6106be5c2946fa880690bf1d205f Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Wed, 12 Jul 2023 06:46:12 -0700 Subject: [PATCH] change gh action flow --- .github/workflows/test.yml | 7 ++++++- .github/workflows/test_database.yml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c524ddd..cef05a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,10 @@ # name: Test -on: [push, pull_request] +on: + # when pushed on main + push: + branches: [ main ] + # when a pull request is opened + pull_request: jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/test_database.yml b/.github/workflows/test_database.yml index c524ddd..01f0f67 100644 --- a/.github/workflows/test_database.yml +++ b/.github/workflows/test_database.yml @@ -1,5 +1,5 @@ # name: Test -on: [push, pull_request] +on: workflow_dispatch jobs: test: runs-on: ubuntu-latest