diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 22031b5db..b057e6141 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -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