From 1889a1e6c2f9f47cb61e8fc274c9351750123b02 Mon Sep 17 00:00:00 2001 From: Brady Holt Date: Mon, 23 Oct 2023 12:12:00 -0500 Subject: [PATCH] Debug script failure --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f49a41e..47aaf71 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,11 +60,13 @@ jobs: uses: actions/github-script@v6 with: script: | + console.log(`Fetching release_id: ${steps.create-release.outputs.id} ...`) const release = await github.rest.repos.getRelease({ release_id: '${{ steps.create-release.outputs.id }}', owner: context.repo.owner, repo: context.repo.repo }); + console.log(`Fetched release:\n\n${JSON.stringify(release)}`) const prNumbersInRelease = new Set(Array.from(release.body.matchAll(/\/pull\/(\d+)/g)).map(p=>p[1]));