diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d0883ac..e4c694a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -61,7 +61,7 @@ jobs: - name: "Get PR number" run: | # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request - echo PR_NUMBER=$(sed 's/\/merge//' <<< "${${{github.ref}}#refs/pull/}") >> $GITHUB_ENV + echo "PR_NUMBER=#${{ github.event.pull_request.number }}" >> $GITHUB_ENV echo "${{env.PR_NUMBER}}" - name: "Mirror release PR to dev" uses: thomaseizinger/create-pull-request@1.0.0 @@ -70,7 +70,7 @@ jobs: with: head: ${{env.BRANCH_NAME}} base: dev - title: Release ${{env.RELEASE_VERSION}} + title: Release ${{env.RELEASE_VERSION}} Cleanup reviewers: ${{ github.actor }} # By default, we request a review from the person who triggered the workflow. body: | Hi @${{ github.actor }}!