diff --git a/.github/workflows/release-01_branch-check.yml b/.github/workflows/release-01_branch-check.yml index 8748c1a10a12..2cd1b5e9b57b 100644 --- a/.github/workflows/release-01_branch-check.yml +++ b/.github/workflows/release-01_branch-check.yml @@ -7,7 +7,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 5efebeea3136..1b49ae621722 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)