How to open a pull request with Probot #1621
Unanswered
anwarghammam
asked this question in
Q&A
Replies: 1 comment
-
Yes, you can do anything with Probot that is possible with GitHub's APIs. To create a pull request, you will do something like this context.octokit.pulls.create(context.pullRequest({
base: "main", // branch to merge into
head: "my-branch" // branch to merge
})) See https://docs.github.com/en/rest/reference/pulls#create-a-pull-request for more parameters |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, is it possible to open a new pull request with probot ?
Beta Was this translation helpful? Give feedback.
All reactions