Skip to content

Commit

Permalink
Fix chapter tracker (#2356)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Oct 3, 2021
1 parent f31dadc commit d4a3423
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/progress-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
return items
}
const progressIssue = await github.issues.get({
const progressIssue = await github.rest.issues.get({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: trackerIssueNumber
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
return `${chapter.number ? `<span title="Part: ${chapter.part}, Chapter: ${chapter.number}">${chapter.number}</span>. ` : ''}[${chapter.title}](${chapter.url}) | ${formatLinks(chapter.links)} | ${formatTeam(chapter.team)} | ${chapter.tasks.join(' | ')}`
}
const taskIssues = await github.paginate(github.issues.listForRepo, {
const taskIssues = await github.paginate(github.rest.issues.listForRepo, {
owner: context.repo.owner,
repo: context.repo.repo,
direction: 'asc',
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
return `### ${team} (${Object.keys(members).length})\n\n${memberList}`
}).join('\n\n')
github.issues.update({
github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: trackerIssueNumber,
Expand Down

0 comments on commit d4a3423

Please sign in to comment.