From c45beb86b4d53e023e0917783c704ae664993da9 Mon Sep 17 00:00:00 2001 From: shuhaib s <95394061+shuhaib-aot@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:48:14 +0530 Subject: [PATCH] Update pr-notification.yml --- .github/workflows/pr-notification.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-notification.yml b/.github/workflows/pr-notification.yml index 0b20afd3..8b6248b8 100644 --- a/.github/workflows/pr-notification.yml +++ b/.github/workflows/pr-notification.yml @@ -22,7 +22,7 @@ jobs: "cards": [ { "header": { - "title": "Micro front-ends : Pull Request Opened by ${{ github.event.pull_request.user.login }}", + "title": "Micro front-ends: Pull Request Opened by ${{ github.event.pull_request.user.login }}", "subtitle": "Pull Request #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}", "imageUrl": "${{ github.event.pull_request.user.avatar_url }}" }, @@ -34,6 +34,11 @@ jobs: "text": "Repository: ${{ github.repository }}" } }, + { + "textParagraph": { + "text": "Status: ${{ github.event.action == 'opened' ? '🟢 Open' : github.event.action == 'closed' ? '🔴 Closed' : '🟣 Merged' }}" + } + }, { "buttons": [ {