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

chore: notify #dev of nightly gauntlet failures#16105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dannykopping merged 1 commit intomainfromdk/nightly
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion.github/workflows/ci.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1263,7 +1263,7 @@ jobs:
"type": "header",
"text": {
"type": "plain_text",
"text": "❌ CI Failure in`main`",
"text": "❌ CI Failure in main",
"emoji":true
}
},
Expand Down
49 changes: 49 additions & 0 deletions.github/workflows/nightly-gauntlet.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,3 +72,52 @@ jobs:
if:always()
with:
api-key:${{ secrets.DATADOG_API_KEY }}

notify-slack-on-failure:
runs-on:ubuntu-latest
if:always() && failure()

steps:
-name:Send Slack notification
run:|
curl -X POST -H 'Content-type: application/json' \
--data '{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "❌ Nightly gauntlet failed",
"emoji":true
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Workflow:*\n${{ github.workflow }}"
},
{
"type": "mrkdwn",
"text": "*Failed Job:*\n${{ github.job }}"
},
{
"type": "mrkdwn",
"text": "*Committer:*\n${{ github.actor }}"
},
{
"type": "mrkdwn",
"text": "*Commit:*\n${{ github.sha }}"
}
]
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*View failure:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Click here>"
}
}
]
}' ${{ secrets.CI_FAILURE_SLACK_WEBHOOK }}
Comment on lines +76 to +123
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not now but it would be nice to extract this job into a separate GitHub action we can reuse across the jobs. Similar tosetup-node andsetup-go actions.

dannykopping and ethanndickson reacted with thumbs up emoji
Loading

[8]ページ先頭

©2009-2025 Movatter.jp