diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08853c5..af68a4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -638,7 +638,11 @@ jobs: entries.append(entry) - output = yaml.dump(entries) + if len(entries): + output = yaml.dump(entries) + else: + output = '' + print(output) with open(os.environ['GITHUB_ENV'], 'a') as outfile: outfile.write('ARTIFACTHUB_CHANGELOG<