vsoch / pull-request-action

open a pull request when a branch is pushed or updated

Home Page:https://github.com/marketplace/actions/pull-request-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Produced env vars are set incorrectly

webknjaz opened this issue · comments

When logging the outputs I noticed that the subsequent step in my workflow contains new env vars populated like this:

  env:
    PULL_REQUEST_NUMBER: 156PULL_REQUEST_RETURN_CODE=0PULL_REQUEST_URL=ansible/ansible-language-server/pull/156

(copied from https://github.com/ansible/ansible-language-server/runs/4328672569?check_suite_focus=true#step:4:5)

Looking at the source, I think that this like https://github.com/vsoch/pull-request-action/blob/d99aa3e/pull-request.py#L82 is at fault — I'm pretty sure it should've appended an LF there too.