From 7262485f3ba72d2ab75ac105e9a779d57bbdd0b8 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Fri, 24 Jun 2022 21:51:13 -0700 Subject: [PATCH 1/3] Skip tests when the ops labeled is used --- .github/workflows/cypress.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 369b101ff..ae17a8749 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -3,6 +3,7 @@ name: Cypress Tests on: [push, pull_request] jobs: cypress: + if: "!contains(github.event.pull_request.labels.*.name, 'ops')" runs-on: ${{ matrix.os }} strategy: fail-fast: false From 8fa0539b5a86ba5c7c306f61d3bb6272a8a43ff8 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Fri, 24 Jun 2022 21:56:08 -0700 Subject: [PATCH 2/3] Update test triggers --- .github/workflows/cypress.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index ae17a8749..918434a93 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -1,6 +1,8 @@ name: Cypress Tests -on: [push, pull_request] +on: + pull_request: + types: [ opened, review_requested, synchronize ] jobs: cypress: if: "!contains(github.event.pull_request.labels.*.name, 'ops')" From 7f5ddaf930ea2c7ee0c34afe6d3a9fc320d9b23c Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com> Date: Sun, 3 Jul 2022 03:29:09 -0700 Subject: [PATCH 3/3] Ignore pushes to the ops branches --- .github/workflows/cypress.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 918434a93..22031b5db 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -3,6 +3,8 @@ 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')"