From aadf19fbfca15a18792b5401fbe6a1292ee8976b Mon Sep 17 00:00:00 2001 From: Adish M Date: Fri, 27 Oct 2023 09:53:40 +0530 Subject: [PATCH 1/4] Adding release label to Trigger all the cypress worflows --- .github/workflows/cypress-appbuilder.yml | 2 +- .github/workflows/cypress-marketplace.yml | 2 +- .github/workflows/cypress-platform.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-appbuilder.yml b/.github/workflows/cypress-appbuilder.yml index bb2563e97a..5247970004 100644 --- a/.github/workflows/cypress-appbuilder.yml +++ b/.github/workflows/cypress-appbuilder.yml @@ -14,7 +14,7 @@ jobs: Cypress-App-Builder: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-app-builder' }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'cypress-release')) }} steps: - name: Setup Node.js diff --git a/.github/workflows/cypress-marketplace.yml b/.github/workflows/cypress-marketplace.yml index 56cc0aad79..b14de4e17c 100644 --- a/.github/workflows/cypress-marketplace.yml +++ b/.github/workflows/cypress-marketplace.yml @@ -14,7 +14,7 @@ jobs: Cypress-Marketplace: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-marketplace' }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'cypress-release')) }} steps: - name: Checkout diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml index 58ad7fe4d8..8c9628fcba 100644 --- a/.github/workflows/cypress-platform.yml +++ b/.github/workflows/cypress-platform.yml @@ -14,7 +14,7 @@ jobs: Cypress-Platform: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-workspace' }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'cypress-release')) }} steps: - name: Setup Node.js From b110e565a54bb530a2aceb25797ff9679992800d Mon Sep 17 00:00:00 2001 From: Adish M Date: Fri, 27 Oct 2023 09:59:47 +0530 Subject: [PATCH 2/4] renaming label --- .github/workflows/cypress-appbuilder.yml | 2 +- .github/workflows/cypress-marketplace.yml | 2 +- .github/workflows/cypress-platform.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-appbuilder.yml b/.github/workflows/cypress-appbuilder.yml index 5247970004..837524f71b 100644 --- a/.github/workflows/cypress-appbuilder.yml +++ b/.github/workflows/cypress-appbuilder.yml @@ -14,7 +14,7 @@ jobs: Cypress-App-Builder: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'cypress-release')) }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'run-cypress')) }} steps: - name: Setup Node.js diff --git a/.github/workflows/cypress-marketplace.yml b/.github/workflows/cypress-marketplace.yml index b14de4e17c..272a841573 100644 --- a/.github/workflows/cypress-marketplace.yml +++ b/.github/workflows/cypress-marketplace.yml @@ -14,7 +14,7 @@ jobs: Cypress-Marketplace: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'cypress-release')) }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'run-cypress')) }} steps: - name: Checkout diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml index 8c9628fcba..bba81bcfbe 100644 --- a/.github/workflows/cypress-platform.yml +++ b/.github/workflows/cypress-platform.yml @@ -14,7 +14,7 @@ jobs: Cypress-Platform: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'cypress-release')) }} + if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'run-cypress')) }} steps: - name: Setup Node.js From 88d2f697e142838961f44e906619b41eac7c64b8 Mon Sep 17 00:00:00 2001 From: Adish M Date: Fri, 27 Oct 2023 10:01:37 +0530 Subject: [PATCH 3/4] correction in label condition --- .github/workflows/cypress-appbuilder.yml | 2 +- .github/workflows/cypress-marketplace.yml | 2 +- .github/workflows/cypress-platform.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-appbuilder.yml b/.github/workflows/cypress-appbuilder.yml index 837524f71b..cdfe6f1420 100644 --- a/.github/workflows/cypress-appbuilder.yml +++ b/.github/workflows/cypress-appbuilder.yml @@ -14,7 +14,7 @@ jobs: Cypress-App-Builder: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'run-cypress')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'run-cypress')) }} steps: - name: Setup Node.js diff --git a/.github/workflows/cypress-marketplace.yml b/.github/workflows/cypress-marketplace.yml index 272a841573..45ea77eff1 100644 --- a/.github/workflows/cypress-marketplace.yml +++ b/.github/workflows/cypress-marketplace.yml @@ -14,7 +14,7 @@ jobs: Cypress-Marketplace: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'run-cypress')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'run-cypress')) }} steps: - name: Checkout diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml index bba81bcfbe..c3ceeb0689 100644 --- a/.github/workflows/cypress-platform.yml +++ b/.github/workflows/cypress-platform.yml @@ -14,7 +14,7 @@ jobs: Cypress-Platform: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'run-cypress')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'cypress-release')) }} steps: - name: Setup Node.js From 316fcf7bcf57c78a6df53c7f26d42b16b1b7ffc7 Mon Sep 17 00:00:00 2001 From: Adish M Date: Fri, 27 Oct 2023 10:05:35 +0530 Subject: [PATCH 4/4] correction in condition --- .github/workflows/cypress-appbuilder.yml | 2 +- .github/workflows/cypress-marketplace.yml | 2 +- .github/workflows/cypress-platform.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-appbuilder.yml b/.github/workflows/cypress-appbuilder.yml index cdfe6f1420..4adabab5ea 100644 --- a/.github/workflows/cypress-appbuilder.yml +++ b/.github/workflows/cypress-appbuilder.yml @@ -14,7 +14,7 @@ jobs: Cypress-App-Builder: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-app-builder' || contains(github.event.pull_request.tags, 'run-cypress')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-app-builder' || github.event.label.name == 'run-cypress') }} steps: - name: Setup Node.js diff --git a/.github/workflows/cypress-marketplace.yml b/.github/workflows/cypress-marketplace.yml index 45ea77eff1..56224b7279 100644 --- a/.github/workflows/cypress-marketplace.yml +++ b/.github/workflows/cypress-marketplace.yml @@ -14,7 +14,7 @@ jobs: Cypress-Marketplace: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-marketplace' || contains(github.event.pull_request.tags, 'run-cypress')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-marketplace' || github.event.label.name == 'run-cypress') }} steps: - name: Checkout diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml index c3ceeb0689..1d2fc06b4f 100644 --- a/.github/workflows/cypress-platform.yml +++ b/.github/workflows/cypress-platform.yml @@ -14,7 +14,7 @@ jobs: Cypress-Platform: runs-on: ubuntu-22.04 - if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-workspace' || contains(github.event.pull_request.tags, 'cypress-release')) }} + if: ${{ github.event.action == 'labeled' && (github.event.label.name == 'run-cypress-workspace' || github.event.label.name == 'run-cypress') }} steps: - name: Setup Node.js