Skip to content

Commit

Permalink
Add failure message to PR if after merge build fails
Browse files Browse the repository at this point in the history
Adds a failure message to PR as a new comment, if packit build fails
after merge of the PR.

Signed-off-by: Martin Perina <[email protected]>
  • Loading branch information
mwperina committed Dec 7, 2023
1 parent 6f22a0e commit 68cf309
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
trigger: commit
owner: '@centos-automotive-sig'
project: bluechi-snapshot
notifications:
failure_comment:
message: "BlueChi build failed for merged commit {commit_sha}. Please check logs {logs_url}, packit dashboard {packit_dashboard_url} and external service dashboard {external_dashboard_url}"
targets:
- centos-stream-9-aarch64
- centos-stream-9-ppc64le
Expand Down

0 comments on commit 68cf309

Please sign in to comment.