diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/cs.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/playwright.yml | 15 |
3 files changed, 14 insertions, 17 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 93a77ef..655fbd9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,7 +4,6 @@ on: push: branches: - main - # The branches below must be a subset of the branches above pull_request: branches: - main 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: diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index ba1d962..09430e1 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -2,15 +2,14 @@ name: Playwright 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: test: |
