diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 index 06c86a5e3f..fee21f678e 100644 --- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 +++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 @@ -26,6 +26,7 @@ - tasks: - rpmdeplint +{% if deployment_type in ['stg', 'prod'] %} - when: message_type: DistGitCommit namespace: modules @@ -34,6 +35,7 @@ - check_modulemd arches: - noarch +{% endif %} {% if deployment_type in ['dev'] %} {# This is sufficient to run in a single environment only #} @@ -46,5 +48,5 @@ arches: - x86_64 match_host_arch: True -{% endif%} +{% endif %}