diff --git a/.github/workflows/cicd_scheduled_notify-seated-prs.yml b/.github/workflows/cicd_scheduled_notify-seated-prs.yml index b165252bad85..ac2e18cd8374 100644 --- a/.github/workflows/cicd_scheduled_notify-seated-prs.yml +++ b/.github/workflows/cicd_scheduled_notify-seated-prs.yml @@ -21,15 +21,15 @@ jobs: with: result-encoding: string retries: 3 + retry-exempt-status-codes: 400,401 github-token: ${{ secrets.CI_MACHINE_TOKEN }} - base-url: https://api.github.com/repos/dotCMS/core/pulls + base-url: https://api.github.com/repos/dotCMS/core/pulls?per_page=100 debug: true script: | async function fetchOpenPrs() { return github.rest.pulls.get({ owner: '${{ github.repository_owner }}', - repo: '${{ env.REPO }}', - per_page: 100 + repo: '${{ env.REPO }}' }); }