Closed hjpotter92 closed 2 years ago
Same issue for me
Alright, after looking a bit into the source code I found a way to override output by setting body
to " "
(note the space), since bash considers that as not an empty string (reference: https://github.com/devops-infra/action-pull-request/blob/master/entrypoint.sh#L103)
I looks like ^NowALiNiA^
is a temporary sequence that doesn't get replaced properly for some reason (judging by this segment)
Hello, I'll have a look at it soon.
NowALiNiA
means new line
in Polish. It's meant to be a string that you would never have in your PR :)
It's explained here https://github.com/devops-infra/action-pull-request/blob/master/entrypoint.sh#L79-L81
I've identified one bug in my code. I haven't used that condition and was not aware it broke after upgrading to Ubuntu from Alpine.
It was in https://github.com/devops-infra/action-commit-push a
New version shows the commit message properly
But PR body still has those special tags instead of newline. Looking further.
Ok, the second problem was with sed gobbling here https://github.com/devops-infra/action-pull-request/pull/109/files#diff-6f9d41d046756f0ddc2fcee0626bdb50100d12b88f293734eff742818e03efa2R132
Now all is tested and fixed.
Please upgrade your workflows to:
devops-infra/action-commit-push@v0.9.2
devops-infra/action-pull-request@v0.5.3
This is fixed with new changes.
Thanks :)
:memo: Brief description
Recent PRs that have been created by this bot always seem to have some weird symbols appearing in them. An example of most recent such PR can be seen here: https://github.com/livepeer/catalyst/pull/247
as you see, the description of the PR is:
where i've no clue about the text
^NowALiNiA^
appearing in it. The workflow file is available at: https://github.com/livepeer/catalyst/blob/main/.github/workflows/staging.yaml:warning: Checklist