Skip to content

Commit fa8e1f3

Browse files
authored
PR本文の接頭語の複数行対応 (#1781)
1 parent 38f952d commit fa8e1f3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ runs:
4444
shell: bash
4545
run: |
4646
echo "HEAD_REF=${{github.event.pull_request.head.ref || github.ref_name}}" >>"${GITHUB_ENV}"
47-
echo "PR_DESCRIPTION_PREFIX=${{inputs.pr-description-prefix}}" >> "$GITHUB_ENV"
47+
48+
delimiter="$(openssl rand -hex 8)"
49+
echo "PR_DESCRIPTION_PREFIX<<${delimiter}" >> "$GITHUB_ENV"
50+
echo "${{inputs.pr-description-prefix}}" >> "$GITHUB_ENV"
51+
echo "${delimiter}" >> "$GITHUB_ENV"
52+
4853
echo "PR_NUMBER=${{github.event.pull_request.number}}" >> "$GITHUB_ENV"
4954
echo "PR_TITLE_PREFIX=${{inputs.pr-title-prefix}}" >> "$GITHUB_ENV"
5055
echo "BRANCH_NAME_PREFIX=${{inputs.branch-name-prefix}}" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)