]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
contruib: ability to set a prefix on backport script
authorSébastien Han <seb@redhat.com>
Wed, 16 May 2018 08:38:24 +0000 (10:38 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 16 May 2018 08:41:48 +0000 (10:41 +0200)
When pushing a PR it might be handy to set the [skip ci] flag if we know
upfront the content should not trigger the CI.

Now you can add [skip ci] as $4 in your command line.

Signed-off-by: Sébastien Han <seb@redhat.com>
contrib/backport_to_stable_branch.sh

index f7ff9b0d0ba1d47ec67326f5096b14415001e32f..c8b4cb9a7f23d06b806dbb0e549b5c08eb36eb45 100755 (executable)
@@ -89,7 +89,7 @@ checkout
 cherry_pick
 push
 create_pr <<MSG
-Backport of ${3} in $stable_branch
+${4} Backport of ${3} in $stable_branch
 
 Backport of #${3} in $stable_branch
 MSG