From 1cf9790a4634345ca2dbb248167119a1ee82e611 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Sat, 25 Feb 2023 09:10:45 +0530 Subject: [PATCH] ci: Fix new failure list comment formatting --- .github/workflows/integration-tests-command.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml index 1e9762451d..4810e1c4d8 100644 --- a/.github/workflows/integration-tests-command.yml +++ b/.github/workflows/integration-tests-command.yml @@ -133,8 +133,8 @@ jobs: if: needs.ci-test.result != 'success' shell: bash run: | - new_failed_spec_env=$(comm -1 -3 <(sort ~/knownfailures) <(sort ~/combined_failed_spec_ci) | sed 's/|cypress|cypress/\n/g') - echo $new_failed_spec_env + new_failed_spec_env="
    $(comm -1 -3 <(sort ~/knownfailures) <(sort ~/combined_failed_spec_ci) | sed 's/|cypress|cypress/\n/g' | sed 's/^/
  1. /')
" + echo "$new_failed_spec_env" echo "new_failed_spec_env<> $GITHUB_ENV echo "$new_failed_spec_env" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV @@ -146,7 +146,7 @@ jobs: issue-number: ${{ github.event.client_payload.pull_request.number }} body: |
The following are new failures, please fix them before merging the PR ${{ env.new_failed_spec_env }}
- + # Update check run called "ci-test-result" - name: Mark ci-test-result job as complete uses: actions/github-script@v6