Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a link to PR creation page so user can create the pr manually #444

Open
priyesh-ave opened this issue Nov 28, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@priyesh-ave
Copy link

**Is your feature request related to a problem?
Our github org settings do not allow backport-action to create prs. It would be nice to have a link inserted into the pr comment along with the error that is currently printed.
image
Example link like main...release-v1 where it can create the pr with one click.

Describe the solution you'd like
As a workaround, could you update the pr comment with the actual url to create the pr. The link to create the pr (with base/target) branch populated. Could you print that in the pr comment so that as a user I can just click on the link to manually create the backport PR.

Describe alternatives you've considered
For now, my alternative is for me to create a custom step after backport-action runs to add a new comment that prepoulates the link with the base/target so i can just click it to the pr creation page.
for example main...release-v1

@priyesh-ave priyesh-ave added the enhancement New feature or request label Nov 28, 2024
@korthout
Copy link
Owner

korthout commented Dec 4, 2024

Thanks @priyesh-ave 👍 That's a good fallback for when PR creation fails.

If you're willing to contribute, I'm happy to receive a pull request for this. Note that there is a bit of a backlog right now, but I'll get to all of them eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants