diff options
| author | Jan Sucan <jan@jansucan.com> | 2024-03-18 15:38:47 +0100 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2024-03-18 15:43:59 +0100 |
| commit | d4a2243237fb591cce2e18cb98934dea8465efb4 (patch) | |
| tree | 8069adc21118f04aec448949f3028d2b98cea81c | |
| parent | 394e79abed3b8a3675c9efb3d448f727c2db45d6 (diff) | |
github: Do not duplicate pull request workflow runs
| -rw-r--r-- | .github/workflows/pre-commit.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/tests.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 5b2bb9d..e30b0f5 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -3,6 +3,8 @@ name: Run pre-commit checks on: pull_request: push: + branches: + - 'main' jobs: run-pre-commit: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f68dfd..a68b896 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,6 +3,8 @@ name: Run tests on: pull_request: push: + branches: + - 'main' jobs: run-tests: |
