Exclude rubocop job when fetching logs

Because there are no logs, it leads to a 404 and the script fails.
pull/11954/head
Christophe Bliard 2 years ago
parent f3ede101e7
commit 44bfa1f8b4
No known key found for this signature in database
GPG Key ID: 2BC07603210C3FA4
  1. 1
      script/github_pr_errors

@ -236,6 +236,7 @@ get_jobs(workflow_run)
.sort_by { _1['name'] }
.each { |job| warn " #{status_line(job)}" }
.select { _1['conclusion'] == 'failure' }
.reject { _1['name'] == 'rubocop' }
.each do |job|
is_successful = false
get_log(job)

Loading…
Cancel
Save