Merge pull request #1962 from knorrium/ops/skip_tests_for_ops

Skip tests if branch name starts with ops
This commit is contained in:
wiz 2022-07-04 16:10:53 +02:00 committed by GitHub
commit 8660dc3eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,9 @@ name: Cypress Tests
on:
pull_request:
types: [ opened, review_requested, synchronize ]
branches-ignore:
- 'ops/**'
jobs:
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 }}
strategy:
fail-fast: false