ci: check_polkadot: check for companion (#5429)

This commit is contained in:
gabriel klawitter
2020-04-03 20:12:18 +05:30
committed by GitHub
parent 6eea144f04
commit 14505471ee
@@ -68,7 +68,8 @@ then
if [ -z "${pr_companion}" ] if [ -z "${pr_companion}" ]
then then
pr_companion="$(echo "${pr_body}" | sed -n -r \ 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)" | tail -n 1)"
fi fi