From 5c7f8419b0ff81e6a26e3c624768fb0ffeaf2d02 Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Fri, 20 Sep 2024 12:08:31 +0200 Subject: [PATCH] test --- .github/workflows/pr-reminder.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml index aa613f2f14421..f399a42eca099 100644 --- a/.github/workflows/pr-reminder.yml +++ b/.github/workflows/pr-reminder.yml @@ -13,13 +13,9 @@ jobs: uses: actions/github-script@v5 id: pr-list with: - script: | - const { data: pullRequests } = await github.pulls.list({ - owner: context.repo.owner, - repo: context.repo.repo, - state: 'open' - }); - return pullRequests.map(pr => pr.html_url).join('\n'); + script: + | + console.log(github.pulls) - name: Send Slack Reminder if: steps.pr-list.outputs.result != ''