From 4db0662b06dc46b4e8001d59402eb972d0b5d868 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Tue, 23 Jan 2024 08:32:02 +0100 Subject: [PATCH] ci: remove broken label from OpenSearch query link (#2839) --- .github/actions/notify_e2e_failure/action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/notify_e2e_failure/action.yml b/.github/actions/notify_e2e_failure/action.yml index 0cc992411..9129cffef 100644 --- a/.github/actions/notify_e2e_failure/action.yml +++ b/.github/actions/notify_e2e_failure/action.yml @@ -33,6 +33,12 @@ runs: shell: bash run: echo "CURRENT_DATE=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV + - name: Encode URI component + uses: Ablestor/encode-uri-component-action@v1.1 + id: encode-uri-component + with: + string: ${{ inputs.test }} + - name: Create body template id: body-template shell: bash @@ -57,7 +63,7 @@ runs: (query:(match_phrase:(metadata.github.run-id:${{ github.run_id }}))), (query:(match_phrase:(metadata.github.ref-stream:${{ inputs.refStream }}))), (query:(match_phrase:(metadata.github.kubernetes-version:${{ inputs.kubernetesVersion }}))), - (query:(match_phrase:(metadata.github.e2e-test-payload:${{ inputs.test }}))) + (query:(match_phrase:(metadata.github.e2e-test-payload:${{ steps.encode-uri-component.outputs.string }}))) ))" | tr -d "\t\n ") # URL construction