Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Sep 6, 2024
1 parent 0051011 commit c9f5ed8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cicd_scheduled_notify-seated-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
github-token: ${{ secrets.CI_MACHINE_TOKEN }}
script: |
async function fetchOpenPrs() {
const response = await github.rest.pulls.paginate({
const opts = github.rest.pulls.get.endpoint.merge({
...,
owner: '${{ github.repository_owner }}',
repo: '${{ env.REPO }}',
per_page: 100
});
const response = github.paginate(opts);
return response.data;
}
Expand Down

0 comments on commit c9f5ed8

Please sign in to comment.