Skip to content

Commit

Permalink
Merge pull request #35 from newrelic-experimental/pagination
Browse files Browse the repository at this point in the history
increase max number jobs returned from api
  • Loading branch information
dpacheconr authored Feb 26, 2025
2 parents b592241 + b46ce75 commit ee264d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

# Github API calls
get_workflow_run_by_run_id = do_fastcore_decode(api.actions.get_workflow_run(GHA_RUN_ID))
get_workflow_run_jobs_by_run_id = do_fastcore_decode(api.actions.list_jobs_for_workflow_run(GHA_RUN_ID))
get_workflow_run_jobs_by_run_id = do_fastcore_decode(api.actions.list_jobs_for_workflow_run(GHA_RUN_ID, page=1, per_page=100))

#Set OTEL resources
global_attributes={
Expand Down

0 comments on commit ee264d7

Please sign in to comment.