summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-02-02 10:48:16 -0500
committerChris Evich <cevich@redhat.com>2022-02-02 11:07:51 -0500
commit903f9a3a28b8ff7df50ce764fde612d18b10a16d (patch)
tree79e8d279b2d597b95dc13248a5c8c3153c9b9cb7 /.cirrus.yml
parent56a1c76ad3c9e963dcb0928187c639ddeada9451 (diff)
downloadpodman-903f9a3a28b8ff7df50ce764fde612d18b10a16d.tar.gz
podman-903f9a3a28b8ff7df50ce764fde612d18b10a16d.tar.bz2
podman-903f9a3a28b8ff7df50ce764fde612d18b10a16d.zip
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>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 41e3d8078..1ec825d00 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: