Fix failing jobs
This commit is contained in:
@@ -86,7 +86,7 @@ def generate_commit_message
|
|||||||
msg += "#{product}: #{new_versions.join(', ')}\n"
|
msg += "#{product}: #{new_versions.join(', ')}\n"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
ret ? "🤖: #{products.join(', ')}\n\n#{msg}": false
|
ret ? "🤖: #{products.join(', ')}\n\n#{msg}": ""
|
||||||
end
|
end
|
||||||
|
|
||||||
Dir.glob("#{WEBSITE_DIR}/products/*.md").each do |product_file|
|
Dir.glob("#{WEBSITE_DIR}/products/*.md").each do |product_file|
|
||||||
@@ -107,5 +107,4 @@ def github_actions_step_output(msg)
|
|||||||
puts "::set-output name=commit_message::#{JSON.dump(msg)}"
|
puts "::set-output name=commit_message::#{JSON.dump(msg)}"
|
||||||
end
|
end
|
||||||
|
|
||||||
msg = generate_commit_message
|
github_actions_step_output(generate_commit_message)
|
||||||
github_actions_step_output(msg) if msg
|
|
||||||
|
|||||||
Reference in New Issue
Block a user