diff --git a/.github/workflows/build_dist_on_merge.yml b/.github/workflows/build_dist_on_merge.yml index 6bf0e4f..96f5285 100644 --- a/.github/workflows/build_dist_on_merge.yml +++ b/.github/workflows/build_dist_on_merge.yml @@ -28,7 +28,7 @@ jobs: git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" git add dist - git commit -m "rebuild [skip ci]" + git commit --amend -m "${{ github.event.head_commit.message }} [skip ci]" git push origin HEAD:${{ github.event.pull_request.head.ref }} --force env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}