We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dc6b65 commit 0aac284Copy full SHA for 0aac284
.github/workflows/update-prs.yml
@@ -28,12 +28,14 @@ jobs:
28
})
29
const prs = await github.paginate(opts)
30
for (const pr of prs) {
31
+ core.debug(JSON.stringify(pr))
32
core.info(`Updating PR #${pr.number}`)
33
github.rest.pulls.updateBranch({
34
owner: context.repo.owner,
35
repo: context.repo.repo,
36
pull_number: pr.number,
37
}).then(function(result) {
38
+ core.debug(JSON.stringify(result))
39
core.info(JSON.stringify(result.data))
40
}).catch(function(error) {
41
core.error(error)
0 commit comments