Skip to content

Commit 0aac284

Browse files
committed
Debug logs
1 parent 1dc6b65 commit 0aac284

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-prs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
})
2929
const prs = await github.paginate(opts)
3030
for (const pr of prs) {
31+
core.debug(JSON.stringify(pr))
3132
core.info(`Updating PR #${pr.number}`)
3233
github.rest.pulls.updateBranch({
3334
owner: context.repo.owner,
3435
repo: context.repo.repo,
3536
pull_number: pr.number,
3637
}).then(function(result) {
38+
core.debug(JSON.stringify(result))
3739
core.info(JSON.stringify(result.data))
3840
}).catch(function(error) {
3941
core.error(error)

0 commit comments

Comments
 (0)