-
Notifications
You must be signed in to change notification settings - Fork 151
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
fix: base off existing branch only if it exists and has an open pull request #338
fix: base off existing branch only if it exists and has an open pull request #338
Conversation
@hertzg is attempting to deploy a commit to the All Contributors Team on Vercel. A member of the Team first needs to authorize it. |
lib/modules/repository.js
Outdated
async getPullRequestURL({ branchName }) { | ||
try { | ||
const results = await this.octokit.pulls.list({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
lib/modules/repository.js
Outdated
async getPullRequestURL({ branchName }) { | ||
try { | ||
const results = await this.octokit.pulls.list({ | ||
owner: this.owner, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicholas t walters
@@ -0,0 +1,54 @@ | |||
const Repository = require("../../lib/modules/repository"); | |||
const { BranchNotFoundError } = require("../../lib/modules/errors"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gracias
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hertzg Hi, please rebase to master
branch first and resolve all checks so we can proceed with this PR. Thanks!
Hey @tenshiAMD, unfortunately I don't have time to work on this pr now, but feel free to finish it if it's a priority right now or let me know and I can close this. |
@gr2m I think this is the current behavior now. See any differences? Please check. Thanks. |
@hertzg Hi. Looks like the other tests got broken. Any ideas? What else are we missing here? |
I'll try to have look this week but can't promise |
@tenshiAMD Are you sure they just broke? There’s a TODO on top of the PR
|
@hertzg yes I already update the snapshots, you can review the recent checks in this PR |
Closing for now. Recreated to a new PR #415. |
Fixes #336
TODO: