From 524231e84ebb1f07ae5136e35f6332eb66dbc822 Mon Sep 17 00:00:00 2001 From: jhartmann Date: Fri, 26 Jul 2024 14:24:03 +0200 Subject: [PATCH] chore(cucumber):[#226] remove execution trigger for pull requests, add executionFilter as input --- .../cucumber-integration-test-UMBRELLA.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cucumber-integration-test-UMBRELLA.yaml b/.github/workflows/cucumber-integration-test-UMBRELLA.yaml index d7007996a..e42ae8309 100644 --- a/.github/workflows/cucumber-integration-test-UMBRELLA.yaml +++ b/.github/workflows/cucumber-integration-test-UMBRELLA.yaml @@ -21,6 +21,11 @@ name: IRS Umbrella Cucumber Integration test execution on: workflow_dispatch: # Trigger manually + inputs: + executionFilter: + description: 'Execution filter' + required: false + default: '!Ignore & !INACTIVE & INTEGRATION_TEST & UMBRELLA' push: branches: - 'main' @@ -31,14 +36,6 @@ on: - 'docs/**' - 'local/**' - 'irs-load-tests/**' - pull_request: - paths-ignore: - - '**/*.md' - - '**/*.txt' - - '.config/**' - - 'docs/**' - - 'local/**' - - 'CHANGELOG.md' # Cancel previous Test executions if a new one is triggered. concurrency: @@ -61,7 +58,7 @@ jobs: regularUserApiKey: "password" adminUserApiKey: "password" cucumberPublishToken: ${{ secrets.IRS_CUCUMBER_PUBLISH_TOKEN }} - executionFilter: "!Ignore & !INACTIVE & INTEGRATION_TEST & UMBRELLA" + executionFilter: ${{ github.event.inputs.executionFilter || '!Ignore & !INACTIVE & INTEGRATION_TEST & UMBRELLA' }} - name: Attach logs if: always() && steps.setup-env.outcome == 'success'