Skip to content

Commit 0b7c9b4

Browse files
slack message enhancement
1 parent 7b847ee commit 0b7c9b4

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.github/workflows/pc.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,9 @@ jobs:
111111
"type": "section",
112112
"text": {
113113
"type": "mrkdwn",
114-
"text": "*Repo*\n<https://github.com/${{ github.repository }}|${{ github.repository }}>"
114+
"text": "*Commit of message `${{ github.event.head_commit.message }}` commited by ${{ github.event.head_commit.author.name }} has resulted in the failure of the job\nRef: <${{ github.event.head_commit.url }}|${{ github.sha }}>"
115115
}
116116
},
117-
{
118-
"type": "section",
119-
"text": {
120-
"type": "mrkdwn",
121-
"text": "*Commit resulted in failure*\n Commit message:`${{ github.event.head_commit.message }}`\n<${{ github.event.head_commit.url }}|${{ github.sha }}>"
122-
}
123-
},
124-
{
125-
"type": "section",
126-
"text": {
127-
"type": "mrkdwn",
128-
"text": "*Author*\n${{ github.event.head_commit.author.name }}"
129-
}
130-
}
131117
]
132118
}
133119
compile:

0 commit comments

Comments
 (0)