From b824f0266b3c6bfd0dd4e3de50dbb0377065faba Mon Sep 17 00:00:00 2001 From: Chevdor Date: Wed, 10 Aug 2022 23:00:19 +0200 Subject: [PATCH] CI fixes (#1510) * Fix templates * Same than https://github.com/paritytech/polkadot/pull/5751 Co-authored-by: parity-processbot <> --- .github/ISSUE_TEMPLATE/release-client.md | 4 ++-- .github/ISSUE_TEMPLATE/release-runtime.md | 6 +++--- .github/workflows/release-01_branch-check.yml | 2 +- scripts/ci/github/check-rel-br | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/release-client.md b/.github/ISSUE_TEMPLATE/release-client.md index 016f0a4c0b..bb7f206157 100644 --- a/.github/ISSUE_TEMPLATE/release-client.md +++ b/.github/ISSUE_TEMPLATE/release-client.md @@ -1,7 +1,7 @@ --- -name: Release Checklist for Client - issue template +name: Release Checklist for Client about: Release Checklist for Client -title: Release Checklist - Client {{ env.VERSION }} +title: Release Checklist for Client {{ env.VERSION }} --- # Release Checklist - Client diff --git a/.github/ISSUE_TEMPLATE/release-runtime.md b/.github/ISSUE_TEMPLATE/release-runtime.md index fe970ce7a1..8ebce6ff15 100644 --- a/.github/ISSUE_TEMPLATE/release-runtime.md +++ b/.github/ISSUE_TEMPLATE/release-runtime.md @@ -1,7 +1,7 @@ --- -name: Release issue template -about: Tracking issue for new releases -title: Cumulus {{ env.VERSION }} Release checklist +name: Release Checklist for Runtime +about: Release Checklist for Runtime +title: Release Checklist for Runtime {{ env.VERSION }} --- # Release Checklist - Runtimes diff --git a/.github/workflows/release-01_branch-check.yml b/.github/workflows/release-01_branch-check.yml index ad35e9623b..a39c635af3 100644 --- a/.github/workflows/release-01_branch-check.yml +++ b/.github/workflows/release-01_branch-check.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: - tag_rc: + check_branch: runs-on: ubuntu-latest steps: - name: Checkout sources diff --git a/scripts/ci/github/check-rel-br b/scripts/ci/github/check-rel-br index 5efebeea31..1b49ae6217 100755 --- a/scripts/ci/github/check-rel-br +++ b/scripts/ci/github/check-rel-br @@ -9,7 +9,7 @@ grv=$(git remote --verbose | grep push) export RUST_LOG=none -REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq) +REPO=$(echo "$grv" | cut -d ' ' -f1 | cut -d$'\t' -f2 | sed 's/.*github.com\/\(.*\)/\1/g' | cut -d '/' -f2 | cut -d '.' -f1 | sort | uniq) echo "[+] Detected repo: $REPO" BRANCH=$(git branch --show-current)