File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -163,12 +163,15 @@ runs:
163163 - name : Set additional env variables (GIT_COMMIT_MESSAGE)
164164 shell : bash
165165 run : |
166- GIT_COMMIT_MESSAGE="$(git log --format=%b -n 1)"
167- GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//'%'/'%25'}"
168- GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\n'/'%0A'}"
169- GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\r'/'%0D'}"
170- echo "GIT_COMMIT_MESSAGE=$GIT_COMMIT_MESSAGE" >> $GITHUB_ENV
171- echo "GIT_COMMIT_MESSAGE is: ${GIT_COMMIT_MESSAGE}"
166+ DELIMITER=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
167+ COMMIT_MESSAGE="$(git log --format=%b -n 1)"
168+ # GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//'%'/'%25'}"
169+ # GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\n'/'%0A'}"
170+ # GIT_COMMIT_MESSAGE="${GIT_COMMIT_MESSAGE//$'\r'/'%0D'}"
171+ echo "GIT_COMMIT_MESSAGE<<$DELIMITER" >> $GITHUB_ENV
172+ echo "$COMMIT_MESSAGE" >> $GITHUB_ENV
173+ echo "$DELIMITER" >> $GITHUB_ENV
174+ echo "GIT_COMMIT_MESSAGE is: ${COMMIT_MESSAGE}"
172175 - name : Interpolate PR Body
173176 uses :
pedrolamas/[email protected] 174177 with :
You can’t perform that action at this time.
0 commit comments