diff --git a/.github/workflows/cicd_scheduled_notify-seated-prs.yml b/.github/workflows/cicd_scheduled_notify-seated-prs.yml index 5f10109da8d7..c8630a3d9ab1 100644 --- a/.github/workflows/cicd_scheduled_notify-seated-prs.yml +++ b/.github/workflows/cicd_scheduled_notify-seated-prs.yml @@ -23,12 +23,10 @@ jobs: retries: 3 retry-exempt-status-codes: 400,401 github-token: ${{ secrets.CI_MACHINE_TOKEN }} - base-url: https://api.github.com/repos/dotCMS/core/pulls?per_page=100 script: | async function fetchOpenPrs() { const opts = github.rest.pulls.get.endpoint.merge({ - owner: '${{ github.repository_owner }}', - repo: '${{ env.REPO }}' + https://api.github.com/repos/${{ github.repository_owner }}/${{ env.REPO }}/pulls }); console.log('OJO:>> ' + JSON.stringify(opts, null, 2)); const response = github.paginate(opts);