From 3112bfd67a7bd76d5b9f79dc736285156c515d1d Mon Sep 17 00:00:00 2001 From: frederico leal Date: Fri, 11 Oct 2024 14:40:12 +0200 Subject: [PATCH] Improving the message adding line breaks and fixing success emoji --- .github/workflows/rit.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index 296fd42f..0f3fbab5 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -132,11 +132,7 @@ jobs: "attachments": [ { "color": "good", -<<<<<<< Updated upstream - "text": "OK: :white_tick: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} - [#${{ github.run_number }} - *${{ github.event.pull_request.title }}*] - PR: ${{ github.event.pull_request.html_url }} - (${{ env.BUILD_URL }}) - *Branches used* [rskj:`rsksmart#${{ env.RSKJ_BRANCH }}`] [fed:`${{ env.POWPEG_BRANCH }}`] [rootstock-integration-tests:`${{ env.RIT_BRANCH }}`]" -======= - "text": "*PASSED*: :white_check_mark: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} \n#${{ github.run_number }} - *${{ github.event.pull_request.title }}*] - PR: ${{ github.event.pull_request.html_url }} \n*Pipeline: ${{ env.BUILD_URL }}) \n*Branches used* \n- rskj:`${{ env.RSKJ_BRANCH }}` \n- fed:`${{ env.POWPEG_BRANCH }}` \n- rootstock-integration-tests:`${{ env.RIT_BRANCH }}`" ->>>>>>> Stashed changes + "text": "*PASSED*: :white_check_mark: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} \n#${{ github.run_number }} - *${{ github.event.pull_request.title }}* \n*PR*: ${{ github.event.pull_request.html_url }} \n*Pipeline*: ${{ env.BUILD_URL }} \n*Branches used*: \n - rskj:`${{ env.RSKJ_BRANCH }}` \n - fed:`${{ env.POWPEG_BRANCH }}` \n - rootstock-integration-tests:`${{ env.RIT_BRANCH }}`" } ] } @@ -153,11 +149,7 @@ jobs: "attachments": [ { "color": "danger", -<<<<<<< Updated upstream - "text": "FAILED: :x: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} - [#${{ github.run_number }} - *${{ github.event.pull_request.title }}*] - PR: ${{ github.event.pull_request.html_url }} - (${{ env.BUILD_URL }}) - *Branches used* [rskj:`rsksmart#${{ env.RSKJ_BRANCH }}`] [fed:`${{ env.POWPEG_BRANCH }}`] [rootstock-integration-tests:`${{ env.RIT_BRANCH }}`]" -======= - "text": "*FAILED*: :robot_face: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} \n#${{ github.run_number }} - *${{ github.event.pull_request.title }}* \n*PR*: ${{ github.event.pull_request.html_url }} \n*Pipeline*: ${{ env.BUILD_URL }}) \n*Branches used*: \n- rskj:`${{ env.RSKJ_BRANCH }}` \n- fed:`${{ env.POWPEG_BRANCH }}` \n- rootstock-integration-tests:`${{ env.RIT_BRANCH }}`" ->>>>>>> Stashed changes + "text": "*FAILED*: :x: *Pull request*: ${{ env.SAFE_BRANCH_NAME }} \n#${{ github.run_number }} - *${{ github.event.pull_request.title }}* \n*PR*: ${{ github.event.pull_request.html_url }} \n*Pipeline*: ${{ env.BUILD_URL }} \n*Branches used* \n - rskj:`rsksmart#${{ env.RSKJ_BRANCH }}` \n - fed:`${{ env.POWPEG_BRANCH }}` \n - rootstock-integration-tests:`${{ env.RIT_BRANCH }}`" } ] } \ No newline at end of file