devops-infra / action-pull-request

GitHub Action that will create a pull request from the current branch
https://christophshyper.github.io/
MIT License
74 stars 21 forks source link

Set PR_NUMBER when PR is created #114

Closed GlacierWalrus closed 1 year ago

GlacierWalrus commented 1 year ago

Fixes https://github.com/devops-infra/action-pull-request/issues/104#issuecomment-1348167143

pr_number output is unset if this job creates the PR, add a gh command to retrieve the number based on the url returned by creation command.

:computer: Commits

:file_folder: Modified files

:warning: Additional information

Check CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information

jit-ci[bot] commented 1 year ago

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

ChristophShyper commented 1 year ago

@GlacierWalrus Thank you for the contribution. gh wasn't installed in the image. hub was. But now I've added the missing one. It has been released in devops-infra/action-pull-request@v0.5.5.