diff --git a/.github/workflows/copr-builds.yml b/.github/workflows/copr-builds.yml index 8c5ef9c06..4ad418467 100644 --- a/.github/workflows/copr-builds.yml +++ b/.github/workflows/copr-builds.yml @@ -15,6 +15,7 @@ permissions: jobs: build: + if: !contains(github.event.issue.labels.*.name, 'no-ci-builds') runs-on: ubuntu-latest name: RPM package strategy: diff --git a/.github/workflows/fedora-tox.yml b/.github/workflows/fedora-tox.yml index 7d4064414..effabf945 100644 --- a/.github/workflows/fedora-tox.yml +++ b/.github/workflows/fedora-tox.yml @@ -6,6 +6,7 @@ on: name: Run Tox tests jobs: tox_test: + if: !contains(github.event.issue.labels.*.name, 'no-ci-builds') name: Tox test steps: - uses: actions/checkout@v3 diff --git a/.packit.yaml b/.packit.yaml index 9ed65081d..b9a3edfb5 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -2,6 +2,11 @@ # https://packit.dev/docs/configuration/ --- +require: + label: + absent: + - no-ci-builds + actions: create-archive: - bash -c "tito build --tgz --test -o ."