-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Create pr when PR number is empty on output #1917
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is for early feedback, I'd like to refactor the client that the Also, should the process for creating new PRs be more explicit? maybe a |
Thanks for the PR. Just so you are aware - pipeline resources are going through a major redesign at the moment and aren't being promoted into the upcoming beta. It's still totally fine to commit code to the existing pipeline resources but their usage and structure may change quite a lot over the coming months. @bigkevmcd I noticed that you're using a forked version of go-scm here. Are you upstreaming changes from your fork? If so, consider linking out to the upstream PR as well. /ok-to-test /cc @wlynch |
@sbwsg gotcha... Yes, forked version, the main changes landed, but while writing the tests for this, I added some extra test functionality (to the fake driver) jenkins-x/go-scm#67 which this relies on. The main functionality landed in jenkins-x/go-scm#63 |
This creates new PRs in the upstream repository for pullrequest outputs, when the "Number" is 0.
@bigkevmcd: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Changes
This changes the
pullrequest
resource to allow it to create PRs during the upload.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
cmd
dir, please updatethe release Task to build and release this image.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes