Skip to content

github.pullRequests stopped working #25352

Answered by Yanjingzhu
staticdev asked this question in Actions
Discussion options

You must be logged in to vote

@staticdev Please use github.pulls.merge .
In actions/github-script@v2, github object is a pre-authenticated octokit/rest.js client.
According to https://octokit.github.io/rest.js/v18 , pull request merge function is this :

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants