Skip to content

Commit

Permalink
Merge pull request #1108 from Homebrew/missing-workflow_run
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jun 13, 2024
2 parents 65b0781 + 1583282 commit 8c382d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/test_formulae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def artifact_metadata(check_suite_nodes, repo, event_name, workflow_name, check_
next false if node.fetch("status") != "COMPLETED"

workflow_run = node.fetch("workflowRun")
next false if workflow_run.blank?
next false if workflow_run.fetch("event") != event_name
next false if workflow_run.dig("workflow", "name") != workflow_name

Expand Down

0 comments on commit 8c382d1

Please sign in to comment.