Skip to content

Commit

Permalink
ci: allow us to skip builds with "no-ci-builds" label
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 4, 2024
1 parent b5c9469 commit ae2663c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/copr-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fedora-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
Expand Down

0 comments on commit ae2663c

Please sign in to comment.