Merge pull request #9284 from iMichka/first
pr-pull: fix empty workflow check
This commit is contained in:
commit
9c3515ce73
@ -419,9 +419,10 @@ module Homebrew
|
|||||||
)
|
)
|
||||||
if args.ignore_missing_artifacts.present? &&
|
if args.ignore_missing_artifacts.present? &&
|
||||||
args.ignore_missing_artifacts.include?(workflow) &&
|
args.ignore_missing_artifacts.include?(workflow) &&
|
||||||
workflow_run.empty?
|
workflow_run.first.blank?
|
||||||
# Ignore that workflow as it was not executed and we specified
|
# Ignore that workflow as it was not executed and we specified
|
||||||
# that we could skip it.
|
# that we could skip it.
|
||||||
|
ohai "Ignoring workflow #{workflow} as requested by --ignore-missing-artifacts"
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user