From 7c69c5e81f83c8643f0614d1f7fc6f2fb328ec2c Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Mon, 13 May 2024 22:18:16 -0400 Subject: [PATCH] Debug logs --- .github/workflows/trigger-release.yml | 2 +- .github/workflows/update-prs.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/trigger-release.yml b/.github/workflows/trigger-release.yml index 19c87fb..84da190 100644 --- a/.github/workflows/trigger-release.yml +++ b/.github/workflows/trigger-release.yml @@ -38,7 +38,7 @@ jobs: repo: context.repo.repo, tag: `v${VERSION}`, }).then(function(result) { - core.info(JSON.stringify(result)) + core.debug(JSON.stringify(result)) core.info(`Release ${result.data.tag_name} found`) return result.data.tag_name }).catch(function(error) { 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)