channable / hoff

A gatekeeper for your commits
Apache License 2.0
41 stars 3 forks source link

Comment about build failures with a markdown link #151

Closed rudymatela closed 2 years ago

rudymatela commented 2 years ago

When the build starts :yellow_circle:, Hoff posts the following message:

CI job started.

When the build fails :x:, Hoff posts the following message:

The build failed: https://channable.semaphoreci.com/workflows/00000000-0000-0000-0000-000000000000?pipeline_id=00000-00000-00000-0000 If this is the result of a flaky test, close and reopen the PR, then tag me again. Otherwise, push a new commit and tag me again.

For build failures, we should do like build starts and use a markdown link for a nicer message:

The build failed :x:.

If this is the result of a flaky test, close and reopen the PR, then tag me again. Otherwise, push a new commit and tag me again.

... and while we're at it, we may add an :yellow_circle: :yellow_circle: to the build started message:

CI job :yellow_circle: started.

Or maybe:

CI job :yellow_circle: started.

... to make it more consistent with the new build failure message.