Skip to content

Commit

Permalink
Merge pull request #41 from ditman/bump-per-page-to-100
Browse files Browse the repository at this point in the history
Bump per_page parameter to 100 in check_runs_for_ref call.
  • Loading branch information
matiasalbarello committed Sep 4, 2021
2 parents 0ba00ee + ffd8b77 commit 5e93735
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/services/github_checks_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def call
private

def query_check_status
checks = client.check_runs_for_ref(repo, ref, {accept: "application/vnd.github.antiope-preview+json"}).check_runs
checks = client.check_runs_for_ref(
repo, ref, {per_page: 100, accept: "application/vnd.github.antiope-preview+json"}
).check_runs
log_checks(checks, "Checks running on ref:")

apply_filters(checks)
Expand Down

0 comments on commit 5e93735

Please sign in to comment.