Skip to content

Commit 021b91e

Browse files
committed
new message
1 parent 8dfb6c6 commit 021b91e

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/fetch_data.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,22 @@ jobs:
6767
with:
6868
payload: |
6969
{
70-
"text": "⚠️ There are ${{ env.FAILED_COUNT }} failing pipeline jobs!",
7170
"blocks": [
71+
{
72+
"type": "section",
73+
"text": {
74+
"type": "mrkdwn",
75+
"text": ":robot_face: <@${{ env.OEL_SLACK_ID }}> Investigate the failures.\n\n${{ env.failed_jobs_summary }}\n\nUse this information to identify specific jobs and repositories. Make sure to anotate proper persons."
76+
}
77+
},
78+
{
79+
"type": "divider"
80+
},
81+
{
82+
"type": "text",
83+
"text": ""⚠️ There are ${{ env.FAILED_COUNT }} failing pipeline jobs!",
84+
"emoji": true
85+
},
7286
{
7387
"type": "header",
7488
"text": { "type": "plain_text", "text": "⚠️ Pipeline failures detected", "emoji": true }
@@ -90,13 +104,7 @@ jobs:
90104
{
91105
"type": "divider"
92106
},
93-
{
94-
"type": "section",
95-
"text": {
96-
"type": "mrkdwn",
97-
"text": ":robot_face: <@${{ env.OEL_SLACK_ID }}> Investigate the failures.\n\n${{ env.failed_jobs_summary }}\n\nUse this information to identify specific jobs and repositories. Make sure to anotate proper persons."
98-
}
99-
}
107+
100108
]
101109
}
102110
env:

0 commit comments

Comments
 (0)