-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
action: always direct message commit author on status event regardles…
…s of the branch
- Loading branch information
Showing
5 changed files
with
121 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -515,9 +515,45 @@ will notify #id[[email protected]] | |
} | ||
] | ||
} | ||
will notify #default | ||
{ | ||
"channel": "default", | ||
"text": "<https://github.com/ahrefs/monorepo|[ahrefs/monorepo]> CI Build Status notification for <https://buildkite.com/org/pipeline2/builds/2|buildkite/pipeline2>: failure", | ||
"attachments": [ | ||
{ | ||
"fallback": null, | ||
"mrkdwn_in": [ "fields", "text" ], | ||
"color": "danger", | ||
"text": "*Description*: Build #2 failed (20 seconds).", | ||
"fields": [ | ||
{ | ||
"value": "*Commit*: `<https://github.com/ahrefs/monorepo/commit/0d95302addd66c1816bce1b1d495ed1c93ccd478|0d95302a>` Update README.md - Khady\n*Branch*: master" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
===== file ../mock_payloads/status.merge_develop.json ===== | ||
===== file ../mock_payloads/status.pending_test.json ===== | ||
===== file ../mock_payloads/status.state_hide_success_test.json ===== | ||
will notify #id[[email protected]] | ||
{ | ||
"channel": "id[[email protected]]", | ||
"text": "<https://github.com/ahrefs/monorepo|[ahrefs/monorepo]> CI Build Status notification for <https://buildkite.com/org/pipeline2/builds/2|buildkite/pipeline2>: success", | ||
"attachments": [ | ||
{ | ||
"fallback": null, | ||
"mrkdwn_in": [ "fields", "text" ], | ||
"color": "good", | ||
"text": "*Description*: Build #2 passed (5 minutes, 19 seconds).", | ||
"fields": [ | ||
{ | ||
"value": "*Commit*: `<https://github.com/ahrefs/monorepo/commit/0d95302addd66c1816bce1b1d495ed1c93ccd478|0d95302a>` Update README.md - Khady\n*Branch*: master" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
===== file ../mock_payloads/status.state_hide_success_test_disallowed_pipeline.json ===== | ||
===== file ../mock_payloads/status.success_public_repo_no_buildkite.json ===== | ||
will notify #id[[email protected]] | ||
|
@@ -537,7 +573,42 @@ will notify #id[[email protected]] | |
} | ||
] | ||
} | ||
will notify #default | ||
{ | ||
"channel": "default", | ||
"text": "<https://github.com/Codertocat/Hello-World|[Codertocat/Hello-World]> CI Build Status notification: success", | ||
"attachments": [ | ||
{ | ||
"fallback": null, | ||
"mrkdwn_in": [ "fields", "text" ], | ||
"color": "good", | ||
"fields": [ | ||
{ | ||
"value": "*Commit*: `<https://github.com/Codertocat/Hello-World/commit/6113728f27ae82c7b1a177c8d03f9e96e0adf246|6113728f>` Initial commit - Codertocat\n*Branches*: master, changes, gh-pages" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
===== file ../mock_payloads/status.success_test_main_branch.json ===== | ||
will notify #id[[email protected]] | ||
{ | ||
"channel": "id[[email protected]]", | ||
"text": "<https://github.com/ahrefs/monorepo|[ahrefs/monorepo]> CI Build Status notification for <https://buildkite.com/org/pipeline2/builds/2|buildkite/pipeline2>: success", | ||
"attachments": [ | ||
{ | ||
"fallback": null, | ||
"mrkdwn_in": [ "fields", "text" ], | ||
"color": "good", | ||
"text": "*Description*: Build #2 passed (5 minutes, 19 seconds).", | ||
"fields": [ | ||
{ | ||
"value": "*Commit*: `<https://github.com/ahrefs/monorepo/commit/0d95302addd66c1816bce1b1d495ed1c93ccd478|0d95302a>` Update README.md - Khady\n*Branch*: develop" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
will notify #all-push-events | ||
{ | ||
"channel": "all-push-events", | ||
|
@@ -575,6 +646,24 @@ will notify #id[[email protected]] | |
} | ||
] | ||
} | ||
will notify #default | ||
{ | ||
"channel": "default", | ||
"text": "<https://github.com/ahrefs/monorepo|[ahrefs/monorepo]> CI Build Status notification for <https://buildkite.com/org/pipeline2/builds/2|buildkite/pipeline2>: success", | ||
"attachments": [ | ||
{ | ||
"fallback": null, | ||
"mrkdwn_in": [ "fields", "text" ], | ||
"color": "good", | ||
"text": "*Description*: Build #2 passed (5 minutes, 19 seconds).", | ||
"fields": [ | ||
{ | ||
"value": "*Commit*: `<https://github.com/ahrefs/monorepo/commit/0d95302addd66c1816bce1b1d495ed1c93ccd478|0d95302a>` Update README.md - Khady\n*Branch*: master" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
===== file ../mock_slack_events/commits.one_file_modified.json ===== | ||
will unfurl in #C047QTRD1CH | ||
{ | ||
|