Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b94d80

Browse files
committed
Expand to nightly gauntlet as well
Signed-off-by: Danny Kopping <danny@coder.com>
1 parenta7fe35a commit3b94d80

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ jobs:
12631263
"type": "header",
12641264
"text": {
12651265
"type": "plain_text",
1266-
"text": "❌ CI Failure in`main`",
1266+
"text": "❌ CI Failure in main",
12671267
"emoji":true
12681268
}
12691269
},

‎.github/workflows/nightly-gauntlet.yaml‎

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,52 @@ jobs:
7272
if:always()
7373
with:
7474
api-key:${{ secrets.DATADOG_API_KEY }}
75+
76+
notify-slack-on-failure:
77+
runs-on:ubuntu-latest
78+
if:always() && failure()
79+
80+
steps:
81+
-name:Send Slack notification
82+
run:|
83+
curl -X POST -H 'Content-type: application/json' \
84+
--data '{
85+
"blocks": [
86+
{
87+
"type": "header",
88+
"text": {
89+
"type": "plain_text",
90+
"text": "❌ Nightly gauntlet failed",
91+
"emoji":true
92+
}
93+
},
94+
{
95+
"type": "section",
96+
"fields": [
97+
{
98+
"type": "mrkdwn",
99+
"text": "*Workflow:*\n${{ github.workflow }}"
100+
},
101+
{
102+
"type": "mrkdwn",
103+
"text": "*Failed Job:*\n${{ github.job }}"
104+
},
105+
{
106+
"type": "mrkdwn",
107+
"text": "*Committer:*\n${{ github.actor }}"
108+
},
109+
{
110+
"type": "mrkdwn",
111+
"text": "*Commit:*\n${{ github.sha }}"
112+
}
113+
]
114+
},
115+
{
116+
"type": "section",
117+
"text": {
118+
"type": "mrkdwn",
119+
"text": "*View failure:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Click here>"
120+
}
121+
}
122+
]
123+
}' ${{ secrets.CI_FAILURE_SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp