File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 7474 - id : get-pr-body
7575 run : |
7676 body=$(cat pr-body.txt)
77- echo "pr_body<<EOF" >> $GITHUB_OUTPUT
78- echo "$body"
79- echo "EOF"
77+ body="${body//'%'/'%25'}"
78+ body="${body//$'\n'/'%0A'}"
79+ body="${body//$'\r'/'%0D'}"
80+ echo ::set-output name=body::$body
81+
82+ # body=$(cat pr-body.txt)
83+ # echo "pr_body<<EOF" >> $GITHUB_OUTPUT
8084# body="${body//'%'/'%25'}"
8185# body="${body//$'\n'/'%0A'}"
8286# body="${body//$'\r'/'%0D'}"
9498 commit-message : Update documentation
9599 title : " Update OpenAPI Spec"
96100 branch : autogenerated-docs-${{ github.run_id }}
97- body : ${{ steps.get-pr-body.outputs.pr_body }}
101+ body : ${{ steps.get-pr-body.outputs.body }}
98102 base : ${{ inputs.base_branch }}
99103
100104 # TODO: finish the autodoc workflow
You can’t perform that action at this time.
0 commit comments