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-11 14:49:44 -0500
commit1656a23359b988a26581a610dcbcc109578ed66e (patch)
treee03a878a25b8af78af03f0ee297b551d8ad0bced /.cirrus.yml
parentafb39f2e477e62963b5acf688ab779897b39c517 (diff)
downloadpodman-1656a23359b988a26581a610dcbcc109578ed66e.tar.gz
podman-1656a23359b988a26581a610dcbcc109578ed66e.tar.bz2
podman-1656a23359b988a26581a610dcbcc109578ed66e.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 b7d7f94b9..00a2257be 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -842,9 +842,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: