diff --git a/.github/workflows/_release-pr.yml b/.github/workflows/_release-pr.yml index 4ad038e3fbd..3e3ac9be70d 100644 --- a/.github/workflows/_release-pr.yml +++ b/.github/workflows/_release-pr.yml @@ -124,8 +124,9 @@ jobs: -H "Content-Type:application/json" \ -H "Authorization: token ${GITHUB_TOKEN}" \ --request POST \ - --data "{\"title\": \"Release ${RELEASE_TAG}\", \"head\": \"${PREPARE_RELEASE_BRANCH_NAME}\", \"base\": \"${RELEASE_BRANCH_NAME}\", \"body\": \"Release PR for ${RELEASE_TAG}.\", \"maintainer_can_modify\": true}" \ + --data "{\"title\": \":bookmark: :robot: Release ${RELEASE_TAG}\", \"head\": \"${PREPARE_RELEASE_BRANCH_NAME}\", \"base\": \"${RELEASE_BRANCH_NAME}\", \"body\": \"Release PR for ${RELEASE_TAG}.\", \"maintainer_can_modify\": true}" \ $API_URL + env: GITHUB_USER: ${{ secrets.DISPATCH_USER }} GITHUB_TOKEN: ${{ secrets.DISPATCH_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3747222000c..b5ac7a34505 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ on: jobs: dump-contexts-to-log: if: >- - ${{ github.event.pull_request.merged == true && startsWith(github.event.head_commit.message, ':bookmark: :robot: Release') }} + ${{ github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, ':bookmark: :robot: Release') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3