name: Create release bug report issue when release branch gets created on: create jobs: create-bug-report: runs-on: ubuntu-latest steps: - name: Extract version from branch name if release branch id: extract_version run: | if [[ "$GITHUB_REF" == "refs/heads/Version-v"* ]]; then version="${GITHUB_REF#refs/heads/Version-v}" echo "New release branch($version), continue next steps" echo "version=$version" >> "$GITHUB_ENV" else echo "Not a release branch, skip next steps" fi - name: Create bug report issue on planning repo if: env.version run: | payload=$(cat <