Skip to content

Commit

Permalink
Pass PR body through env before heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
katybaulch committed May 1, 2024
1 parent ff0ce68 commit dbd88b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ runs:
echo "Dumping PR body to file..."
rm -f "${pr_dump_file}"
touch "${pr_dump_file}"
pr_body="${{ fromJson(steps.get_pr_data.outputs.result).body }}"
cat > "${pr_dump_file}" <<EOF
"${{ fromJson(steps.get_pr_data.outputs.result).body }}"
"${pr_body}"
EOF
echo "Cat-ting ${pr_dump_file}..."
cat "${pr_dump_file}"
Expand Down

0 comments on commit dbd88b1

Please sign in to comment.