From 4edaefaa4f4a1e860441653f1f2b9257bd2ab6b9 Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Mon, 13 May 2024 22:18:40 -0400 Subject: [PATCH] Debug logs --- .github/workflows/update-prs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-prs.yml b/.github/workflows/update-prs.yml index 2082e34..118c329 100644 --- a/.github/workflows/update-prs.yml +++ b/.github/workflows/update-prs.yml @@ -28,12 +28,14 @@ jobs: }) const prs = await github.paginate(opts) for (const pr of prs) { + core.debug(JSON.stringify(pr)) core.info(`Updating PR #${pr.number}`) github.rest.pulls.updateBranch({ owner: context.repo.owner, repo: context.repo.repo, pull_number: pr.number, }).then(function(result) { + core.debug(JSON.stringify(result)) core.info(JSON.stringify(result.data)) }).catch(function(error) { core.error(error)