Skip to content

Commit

Permalink
Correcion del workflow de GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosandresalzate committed Jun 6, 2024
1 parent d4d5e7d commit 6dc0be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const issues = await github.issues.listForRepo({
const issues = await github.paginate(github.issues.listForRepo, {
owner: context.repo.owner,
repo: context.repo.repo,
per_page: 100,
state: 'open'
});
const issueList = issues.data.map(issue => `* [${issue.title}](${issue.html_url})`).join('\n');
const issueList = issues.map(issue => `* [${issue.title}](${issue.html_url})`).join('\n');
return {
issues: issueList
Expand Down

0 comments on commit 6dc0be0

Please sign in to comment.