Skip tests if branch name starts with ops

This commit is contained in:
Felipe Knorr Kuhn 2022-07-04 02:55:21 -07:00
parent f13c8b36cd
commit 00bb09faaa
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

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