opendownstream-pr.yml: render breaklines correctly#400
Conversation
|
@Luap99 PTAL |
| BRANCH_NAME="sync/container-libs-${{ github.event.pull_request.number }}" | ||
| PR_TITLE="Sync: ${SELF_REPO_PR_TITLE}" | ||
| PR_BODY="This PR automatically vendors changes from [container-libs#${SELF_REPO_PR_NUMBER}](${SELF_REPO_PR_URL}).\n This PR is intended solely for testing purposes and should not be merged. Ideally, upstream maintainers should review any failing tests here and close this PR once the upstream PR is merged. Maintainers of this repository do not need to take any action, but may review the changes and notify upstream maintainers of any breaking issues if they wish. \n\nThis PR is generated from a github actions workflow, please report any issues on https://github.com/containers/container-libs" | ||
| PR_BODY="This PR automatically vendors changes from [container-libs#${SELF_REPO_PR_NUMBER}](${SELF_REPO_PR_URL}).<br> This PR is intended solely for testing purposes and should not be merged. Ideally, upstream maintainers should review any failing tests here and close this PR once the upstream PR is merged. Maintainers of this repository do not need to take any action, but may review the changes and notify upstream maintainers of any breaking issues if they wish. <br><br>This PR is generated from a github actions workflow, please report any issues on https://github.com/containers/container-libs" |
There was a problem hiding this comment.
The github PR descriptions are markdown not html. Yes <br> are generally render correctly in markdown so this likely works but isn't the proper thing to just split the text in its paragraphs which then also makes it much more readable here in the source.
You should be able to have a multi line string just fine in bash here
dc815c5 to
11c3a14
Compare
|
@Luap99 PTAL |
| This PR is intended solely for testing purposes and should not be merged. Ideally, upstream maintainers should review any failing tests here and close this PR once the upstream PR is merged. Maintainers of this repository do not need to take any action, but may review the changes and notify upstream maintainers of any breaking issues if they wish. | ||
|
|
||
| This PR is generated from a github actions workflow, please report any issues on https://github.com/containers/container-libs" |
There was a problem hiding this comment.
that does not look like a valid yaml file, you must maintain the yaml indentation
Signed-off-by: flouthoc <flouthoc.git@gmail.com>
11c3a14 to
8f4bc1d
Compare
mtrmac
left a comment
There was a problem hiding this comment.
Reading https://yaml.org/spec/1.2.2/#731-double-quoted-style , we might need one more empty line between paragraphs (newlines in non-empty lines are discarded) but let’s try this one first.
I was wrong, podman-container-tools/buildah#6445 (comment) looks perfect. |
Fix rendering breaklines in github PR description.