Fix plan triggers to reflect reality

This commit is contained in:
Miloš Prchlík 2024-01-23 15:18:02 +01:00 committed by mprchlik
commit 65f6377e31
2 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@ summary: "Build/PR gating tests for binutils"
# Adjust rules
adjust+:
- because: "Plan to be ran when executed locally, or executed by CI system to gate a build or PR."
# `commit` is used by Fedora CI, CentOS Stream CI, `build` by BaseOS CI
when: >-
trigger is defined
and trigger != commit

View file

@ -10,10 +10,11 @@ discover:
# Adjust rules
adjust+:
- because: "Plan to be ran when executed locally, or executed by CI system after updating an erratum."
- because: "Plan to be ran when executed locally, or executed by CI system after updating an erratum/bodhi update."
# `build` is used by Bodhi
when: >-
trigger is defined
and trigger != update
and trigger != build
enabled: false
- because: "On CentOS Stream 9, CRB repository must be enabled for various BuildRequires"