From 00bb09faaac0a3f26d23f3042533f2d403bc901b Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Mon, 4 Jul 2022 02:55:21 -0700 Subject: [PATCH] Skip tests if branch name starts with ops --- .github/workflows/cypress.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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