mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 04:01:47 +00:00
Fix pre-commit workflow error when writing multiline string
Error message:
Error: Unable to process file command 'output' successfully.
Error: Invalid format 'index cd0e971..e9a93b2 100644'
This commit is contained in:
@@ -26,7 +26,10 @@ jobs:
|
||||
run: |
|
||||
git diff --color
|
||||
changes="$(git diff)"
|
||||
echo "changes=${changes}" >> $GITHUB_OUTPUT
|
||||
delimiter="$(openssl rand -hex 8)"
|
||||
echo "changes<<${delimiter}" >> "${GITHUB_OUTPUT}"
|
||||
echo "${changes}" >> "${GITHUB_OUTPUT}"
|
||||
echo "${delimiter}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
|
||||
Reference in New Issue
Block a user