From ef1f9fdca921fea75f576abd9eb4cc97bb0c2b5b Mon Sep 17 00:00:00 2001 From: benpankow Date: Wed, 10 Jul 2024 13:38:52 -0700 Subject: [PATCH] log --- actions/hybrid_branch_deploy/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/actions/hybrid_branch_deploy/action.yml b/actions/hybrid_branch_deploy/action.yml index 9f9026c..e5ce003 100644 --- a/actions/hybrid_branch_deploy/action.yml +++ b/actions/hybrid_branch_deploy/action.yml @@ -43,6 +43,7 @@ runs: with: script: | const previousShas = process.env.PREVIOUS_SHA.split('\n').map(s => s.trim()).filter(s => s.length > 0); + console.log(previousShas); let pullRequests = []; for (const sha of previousShas) { const pr = await github.rest.repos.listPullRequestsAssociatedWithCommit({ @@ -50,10 +51,12 @@ runs: owner: context.repo.owner, repo: context.repo.repo, }); + console.log(pr); if (pr.data.length > 0) { pullRequests.push(...pr.data); } } + console.log(pullRequests); return pullRequests; - name: Print PRs