Merge pull request #1962 from knorrium/ops/skip_tests_for_ops
Skip tests if branch name starts with ops
This commit is contained in:
commit
8660dc3eba
4
.github/workflows/cypress.yml
vendored
4
.github/workflows/cypress.yml
vendored
@ -3,11 +3,9 @@ name: Cypress Tests
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, review_requested, synchronize ]
|
types: [ opened, review_requested, synchronize ]
|
||||||
branches-ignore:
|
|
||||||
- 'ops/**'
|
|
||||||
jobs:
|
jobs:
|
||||||
cypress:
|
cypress:
|
||||||
if: "!contains(github.event.pull_request.labels.*.name, 'ops')"
|
if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user