Skip to content

Commit

Permalink
[ci] Fix bloat-check after ghapi update to 1.0.4
Browse files Browse the repository at this point in the history
per_page argument was passed as a positional argument to
list_artifacts_for_repo action, which stopped working after
a new argument has been added to the action in ghapi 1.0.4.
  • Loading branch information
Damian-Nordic committed Jul 24, 2023
1 parent cdec02b commit 4ff8ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tools/memory/memdf/util/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_artifacts(self, page_limit: int = -1, per_page: int = -1):
page = 0
for i in ghapi.all.paged(
self.ghapi.actions.list_artifacts_for_repo,
per_page):
per_page=per_page):
if not i.artifacts:
break
for a in i.artifacts:
Expand Down

0 comments on commit 4ff8ba7

Please sign in to comment.