From a354f4688769f7735922bfdff914fc0151a0f715 Mon Sep 17 00:00:00 2001 From: Anagh Hegde Date: Mon, 11 Nov 2024 14:31:17 +0530 Subject: [PATCH] beautify the slack message --- .github/workflows/sync-release-to-pg.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-release-to-pg.yml b/.github/workflows/sync-release-to-pg.yml index f5ad35e0669c..b5bd192f597d 100644 --- a/.github/workflows/sync-release-to-pg.yml +++ b/.github/workflows/sync-release-to-pg.yml @@ -59,9 +59,9 @@ jobs: CONFLICTING_COMMIT: ${{ env.CONFLICTING_COMMIT }} run: | # Prepare the message for Slack - message="Merge conflict detected while merging release into pg branch. Conflicted commits:\n" + message="Merge conflict detected while merging release into pg branch. Conflicted commits:" commit_url="$REPOSITORY_URL/commit/$CONFLICTING_COMMIT" - message+="$commit_url\n" + message+="$commit_url" # Send the message to Slack # This unwieldy horror of a sed command, converts standard Markdown links to Slack's unwieldy link syntax.