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 /.github/workflows/pre-commit.yml | |
| parent | 394e79abed3b8a3675c9efb3d448f727c2db45d6 (diff) | |
github: Do not duplicate pull request workflow runs
Diffstat (limited to '.github/workflows/pre-commit.yml')
| -rw-r--r-- | .github/workflows/pre-commit.yml | 2 |
1 files changed, 2 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: |
