From 5fc85e5ada02f4e4a9cad18e809219031a159a08 Mon Sep 17 00:00:00 2001 From: Suban05 Date: Sat, 24 Aug 2024 21:02:45 +0500 Subject: [PATCH] #311 process jobs from `github-actions` --- judges/github-events/github-events.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/judges/github-events/github-events.rb b/judges/github-events/github-events.rb index ee1b1d60..aa2fa23e 100644 --- a/judges/github-events/github-events.rb +++ b/judges/github-events/github-events.rb @@ -126,6 +126,7 @@ def self.fetch_workflows(pr) succeeded_builds = 0 failed_builds = 0 Fbe.octo.check_runs_for_ref(pr[:base][:repo][:full_name], pr[:head][:sha])[:check_runs].each do |run| + next unless run[:app][:slug] == 'github-actions' workflow = Fbe.octo.workflow_run( pr[:base][:repo][:full_name], Fbe.octo.workflow_run_job(pr[:base][:repo][:full_name], run[:id])[:run_id]