From deac3b67067462dc29c8467b36bd8c6c52789f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Mon, 9 Aug 2021 09:54:24 -1000 Subject: [PATCH] Make sure we do have an actual setfile We are not expecting to have a nil result from ::os_release_to_setfile, but better safe than sorry. --- lib/puppet_metadata/github_actions.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/puppet_metadata/github_actions.rb b/lib/puppet_metadata/github_actions.rb index 6d1a2cf..17098df 100644 --- a/lib/puppet_metadata/github_actions.rb +++ b/lib/puppet_metadata/github_actions.rb @@ -75,6 +75,8 @@ def github_action_test_matrix(use_fqdn: false, pidfile_workaround: false) next unless AIO.has_aio_build?(os, release, puppet_version[:value]) setfile = PuppetMetadata::Beaker.os_release_to_setfile(os, release, use_fqdn: use_fqdn, pidfile_workaround: pidfile_workaround) + next unless setfile + matrix_include << { setfile: { name: setfile[1],