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

Conversation

dannykopping
Copy link
Contributor

Expands on#16102

This workflow is currently failing every night, so this will not only raise immediate awareness but will also be easy to validate this job.

Comment on lines +76 to +123
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 }}
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
@dannykoppingdannykoppingenabled auto-merge (squash)January 13, 2025 09:53
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykopping merged commit73d8dde intomainJan 13, 2025
34 checks passed
@dannykoppingdannykopping deleted the dk/nightly branchJanuary 13, 2025 10:15
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJan 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@matifalimatifalimatifali approved these changes

@ethanndicksonethanndicksonethanndickson approved these changes

Assignees

@dannykoppingdannykopping

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@dannykopping@matifali@ethanndickson

[8]ページ先頭

©2009-2025 Movatter.jp