From 5c9d24586e5e905a721f67e14ff0e85593777aba Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 13 Nov 2024 13:00:08 +0100 Subject: [PATCH] ci: run Packit on commit events as well Let's do a Packit build on "commit" events as well, which automagically enables Packit's OpenScanHub integration [0]. Since OSH runs only on x86_64 Fedora Rawhide builds, let's limit the scope for the "commit" event adequately; we still do the usual builds across all supported Fedora releases (and architectures) in PRs. The OSH integration is still in its experimental stage, but there's a plan to add SARIF support and integrate it into GitHub's UI (see [1]), which should make it quite useful. [0] https://packit.dev/posts/openscanhub-prototype [1] https://github.com/packit/dashboard/issues/441 --- .packit.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index d5d7f522..4b4db34e 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -15,6 +15,12 @@ upstream_package_name: polkit downstream_package_name: polkit jobs: +- job: copr_build + trigger: commit + preserve_project: true + targets: + - fedora-rawhide-x86_64 + - job: copr_build trigger: pull_request targets: