diff options
Diffstat (limited to '.github/workflows/cs.yml')
| -rw-r--r-- | .github/workflows/cs.yml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index a59baca..81861e7 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -2,15 +2,14 @@ name: Code Style on: push: - branches: - - main - - 'feature/**' - - 'release/**' - - 'fix/**' - # The branches below must be a subset of the branches above + branches-ignore: + # These should always correspond to pull requests, so ignore them for + # the push trigger and let them be triggered by the pull_request + # trigger, avoiding running the workflow twice. This is a minor + # optimization so there's no need to ensure this is comprehensive. + - 'dependabot/**' pull_request: - branches: - - main + types: [opened, synchronize, reopened] jobs: lint: |
