From a2697c02849e3c6cb01f0c2fea823c7db59e29d9 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 21 Sep 2023 13:33:24 -0400 Subject: [PATCH] packit: tag @containers/packit-build team on copr build failures This change will auto-tag @containers/packit-build in a github comment on every copr build failure. [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar --- .packit.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 796ba07ea1..3044626c5b 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -16,8 +16,10 @@ actions: jobs: - job: copr_build trigger: pull_request + notifications: + failure_comment: + message: "Ephemeral COPR build failed. @containers/packit-build please check." enable_net: true - # keep in sync with https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next targets: - fedora-all-x86_64 - fedora-all-aarch64 @@ -33,6 +35,9 @@ jobs: # Run on commit to main branch - job: copr_build trigger: commit + notifications: + failure_comment: + message: "podman-next COPR build failed. @containers/packit-build please check." branch: main owner: rhcontainerbot project: podman-next