File tree Expand file tree Collapse file tree 6 files changed +49267
-40752
lines changed Expand file tree Collapse file tree 6 files changed +49267
-40752
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ inputs:
4242 GitHub Actions will not run workflows on pull requests which are opened by a GitHub Action.
4343
4444 **To run GitHub Actions workflows on this PR, close and re-open this pull request.**
45-
4645 pr-labels :
4746 description : " A comma or newline separated list of labels to set on the Pull Request to be created"
4847 required : false
@@ -181,9 +180,9 @@ runs:
181180 env : {}
182181 - name : Set additional env variables (GIT_COMMIT_MESSAGE)
183182 shell : bash
183+ env : COMMIT_MESSAGE= ${{ inputs.commit-msg }}
184184 run : |
185185 DELIMITER=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
186- COMMIT_MESSAGE="$(git log --format=%b -n 1)"
187186 echo "GIT_COMMIT_MESSAGE<<$DELIMITER" >> $GITHUB_ENV
188187 echo "$COMMIT_MESSAGE" >> $GITHUB_ENV
189188 echo "$DELIMITER" >> $GITHUB_ENV
@@ -211,6 +210,7 @@ runs:
211210 base : ${{ inputs.base }}
212211 branch : ${{ inputs.branch }}
213212 delete-branch : true
213+ commit-message : ${{ env.GIT_COMMIT_MESSAGE }}
214214 committer : ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}
215215 author : ${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}
216216 title : ${{ inputs.pr-title }}
You can’t perform that action at this time.
0 commit comments