-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Allow to open GitHub pullrequest on parent repository #1182
Conversation
fbca034
to
5834d6e
Compare
Nice one. @frelon, did you try to update an existing pullrequest created by the updatecli pipeline? Because I have situation where the pullrequest can evolve and I would like to update the title, for example such on olblak/kubernetes-marketplace#10 where the title display the version bump |
If upstream is set to true in the spec, the PR will be opened against the upstream of the repository specified in scm. Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
5834d6e
to
5aadb7e
Compare
Only updating labels of existing PR:s if labels are specified, otherwise we will receive a permission denied for updating PR:s, even though no labels are added. Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
@olblak I tried it initially, but got |
Awesome, and it definitely seems cleaner |
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
0a1eebc
to
1a184e3
Compare
Fix #1096
This PR enables updatecli to open new GitHub pull-requests against parent repositories.
Since it is implied the user will not have write-access upstream we will skip setting labels/assignees/etc if not specified in the spec.
Example yaml:
This pushes changes to
elemental-ci/elemental-cli
and opens the PR against the upstreamrancher/elemental-cli
as expected!