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

Commit22236f2

Browse files
authored
chore: only notify about CI failure onmain ifrequired job fails (#16114)
This should be the last PR to get this workingLooks like the `nightly-gauntlet` is working as expected, and this is aclone of that.---------Signed-off-by: Danny Kopping <danny@coder.com>
1 parent24dd8a1 commit22236f2

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

‎.github/workflows/ci.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,8 +1252,10 @@ jobs:
12521252
make sqlc-vet
12531253
12541254
notify-slack-on-failure:
1255+
needs:
1256+
-required
12551257
runs-on:ubuntu-latest
1256-
if:always() &&failure() && github.ref == 'refs/heads/main'
1258+
if:failure() && github.ref == 'refs/heads/main'
12571259

12581260
steps:
12591261
-name:Send Slack notification
@@ -1276,10 +1278,6 @@ jobs:
12761278
"type": "mrkdwn",
12771279
"text": "*Workflow:*\n${{ github.workflow }}"
12781280
},
1279-
{
1280-
"type": "mrkdwn",
1281-
"text": "*Failed Job:*\n${{ github.job }}"
1282-
},
12831281
{
12841282
"type": "mrkdwn",
12851283
"text": "*Committer:*\n${{ github.actor }}"

‎.github/workflows/nightly-gauntlet.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ jobs:
101101
"type": "mrkdwn",
102102
"text": "*Workflow:*\n${{ github.workflow }}"
103103
},
104-
{
105-
"type": "mrkdwn",
106-
"text": "*Failed Job:*\n${{ github.job }}"
107-
},
108104
{
109105
"type": "mrkdwn",
110106
"text": "*Committer:*\n${{ github.actor }}"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp