From 03f5fa972ff03d785214e489e110cc8f8ba4caaa Mon Sep 17 00:00:00 2001 From: Misha Kav Date: Wed, 26 Jun 2024 13:43:47 +0300 Subject: [PATCH] fix ticket number in Bump gitstream-core --- .github/workflows/bump-gitstream-core.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bump-gitstream-core.yml b/.github/workflows/bump-gitstream-core.yml index 449617e9..b78e27e1 100644 --- a/.github/workflows/bump-gitstream-core.yml +++ b/.github/workflows/bump-gitstream-core.yml @@ -1,6 +1,6 @@ # install new gitstream-core version and open PR with new changes name: Bump gitstream-core -run-name: Bump gitstream-core to `${{ inputs.version }}` +run-name: Bump `gitstream-core` to `${{ inputs.version }}` on: workflow_dispatch: @@ -26,7 +26,7 @@ jobs: - name: Set version to ENV run: | echo "VERSION=${{ inputs.version }}" >> "$GITHUB_ENV" - echo "BRANCH_NAME=${{ inputs.version }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV" + echo "BRANCH_NAME=${{ inputs.ticket }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV" - name: Init npmrc run: | @@ -46,7 +46,7 @@ jobs: git config --global user.name 'GitHub Actions Bot' git config --global user.email 'actions@github.com' git add package.json package-lock.json dist/index.js - git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}\n${{ inputs.descritpion }}`" + git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}`" -m "${{ inputs.descritpion }}" git push origin HEAD:${{ env.BRANCH_NAME }} gh pr create \ --base v2-develop \