From d07b7d912ee4933f472b5ea3d69bc8076a2d081f Mon Sep 17 00:00:00 2001 From: Karolina Rakoczy Date: Fri, 10 Feb 2023 12:06:00 +0100 Subject: [PATCH] change cypress job title when triggering from PR (#3148) --- .github/workflows/deploy-and-run-cypress.yml | 2 +- .github/workflows/e2e.yml | 2 +- .github/workflows/test-env-deploy.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-and-run-cypress.yml b/.github/workflows/deploy-and-run-cypress.yml index 1d6a582cf..d38fd632d 100644 --- a/.github/workflows/deploy-and-run-cypress.yml +++ b/.github/workflows/deploy-and-run-cypress.yml @@ -116,7 +116,7 @@ jobs: CYPRESS_USER_PASSWORD: ${{ secrets.CYPRESS_USER_PASSWORD }} CYPRESS_PERMISSIONS_USERS_PASSWORD: ${{ secrets.CYPRESS_PERMISSIONS_USERS_PASSWORD }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - COMMIT_INFO_MESSAGE: Critical tests triggered on PR - ${{ github.ref_name }} + COMMIT_INFO_MESSAGE: ${{github.event.inputs.tags}} tests triggered on PR - https://github.com/${{ github.repository }}/pull/${{ github.ref_name }} CYPRESS_grepTags: ${{github.event.inputs.tags}} with: record: true diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4a8860edb..f67f54fa0 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -124,7 +124,7 @@ jobs: CYPRESS_PERMISSIONS_USERS_PASSWORD: ${{ secrets.CYPRESS_PERMISSIONS_USERS_PASSWORD }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_mailHogUrl: ${{ secrets.CYPRESS_MAILHOG }} - COMMIT_INFO_MESSAGE: Tests triggered on PR - ${{ github.ref_name }} with selected tags + COMMIT_INFO_MESSAGE: ${{ needs.get-selected-tags-and-containers.outputs.tags }} tests triggered on PR - https://github.com/${{ github.repository }}/pull/${{ github.ref_name }} CYPRESS_grepTags: ${{ needs.get-selected-tags-and-containers.outputs.tags }} with: parallel: true diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml index 97718675a..4f1ff38a9 100644 --- a/.github/workflows/test-env-deploy.yml +++ b/.github/workflows/test-env-deploy.yml @@ -226,7 +226,7 @@ jobs: CYPRESS_PERMISSIONS_USERS_PASSWORD: ${{ secrets.CYPRESS_PERMISSIONS_USERS_PASSWORD }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_mailHogUrl: ${{ secrets.CYPRESS_MAILHOG }} - COMMIT_INFO_MESSAGE: Critical tests triggered on PR - ${{ github.ref_name }} + COMMIT_INFO_MESSAGE: ${{github.event.inputs.tags}} tests triggered on PR - https://github.com/${{ github.repository }}/pull/${{ github.ref_name }} CYPRESS_grepTags: ${{ needs.prepare-tests.outputs.tags }} with: parallel: true