From 903f9a3a28b8ff7df50ce764fde612d18b10a16d Mon Sep 17 00:00:00 2001
From: Chris Evich <cevich@redhat.com>
Date: Wed, 2 Feb 2022 10:48:16 -0500
Subject: [PATCH] Cirrus: Minor - limit release task applicability

This task/test is guaranteed to fail on non-release PRs.  Upon
reviewing actual practice and the release docs, this task should be
limited to PRs with a title containing `release` or `bump` keywords.
Also fix a minor comment typo.

Ref:
https://github.com/containers/podman/pull/13106#pullrequestreview-869855449

Signed-off-by: Chris Evich <cevich@redhat.com>
---
 .cirrus.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 41e3d80788..1ec825d007 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -811,9 +811,9 @@ release_task:
 release_test_task:
     name: "Optional Release Test"
     alias: release_test
-    # Release-PRs are never ever marked with [CI:DOCS] or [CI:BUILD]
-    only_if: *not_build
-    # Allow running manually as part of release PR preperation
+    # Release-PRs always include "release" or "Bump" in the title
+    only_if: $CIRRUS_CHANGE_TITLE =~ '.*((release)|(bump)).*'
+    # Allow running manually only as part of release-related builds
     # see RELEASE_PROCESS.md
     trigger_type: manual
     depends_on: