From f05de5a57fec5315b8856e1558635c599c765c3c Mon Sep 17 00:00:00 2001 From: Chuck Daniels Date: Fri, 27 Sep 2024 18:09:52 -0400 Subject: [PATCH] experiment --- .github/workflows/integration-test-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test-review.yml b/.github/workflows/integration-test-review.yml index c9ed1142..66a25e05 100644 --- a/.github/workflows/integration-test-review.yml +++ b/.github/workflows/integration-test-review.yml @@ -40,11 +40,11 @@ jobs: uses: actions/github-script@v7 with: script: | - const prNumber = await github.rest.repos.listPullRequestsAssociatedWithCommit({ + const prNumber = (await github.rest.repos.listPullRequestsAssociatedWithCommit({ commit_sha: context.sha, owner: "${{ github.event.workflow_run.head_repository.owner.login }}", repo: "${{ github.event.workflow_run.head_repository.name }}", - }).data[0]?.number; + })).data[0]?.number; if (prNumber) { github.rest.issues.createComment({