From 14505471ee9c6a2f16edacd4fe97921d0781d0b2 Mon Sep 17 00:00:00 2001 From: gabriel klawitter Date: Fri, 3 Apr 2020 20:12:18 +0530 Subject: [PATCH] ci: check_polkadot: check for companion (#5429) --- substrate/.maintain/gitlab/check_polkadot_companion_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate/.maintain/gitlab/check_polkadot_companion_build.sh b/substrate/.maintain/gitlab/check_polkadot_companion_build.sh index 2258c9505c..eb4c6440f4 100755 --- a/substrate/.maintain/gitlab/check_polkadot_companion_build.sh +++ b/substrate/.maintain/gitlab/check_polkadot_companion_build.sh @@ -68,7 +68,8 @@ then if [ -z "${pr_companion}" ] then pr_companion="$(echo "${pr_body}" | sed -n -r \ - 's;^.*https://github.com/paritytech/polkadot/pull/([0-9]+).*$;\1;p' \ + -e 's;^.*paritytech/polkadot/#([0-9]+).*$;\1;p' \ + -e 's;^.*https://github.com/paritytech/polkadot/pull/([0-9]+).*$;\1;p' \ | tail -n 1)" fi