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": [ {