feat: allow the images input to be empty, to output just tags

Signed-off-by: Jason D'Amour <jasondamour98@gmail.com>
This commit is contained in:
Jason D'Amour authored and CrazyMax committed 2023-11-30 10:23:11 +01:00
1 parent 051f7ea71b
commit aacea38e07
2 files changed
+17 -8

No files matched your search

-4
View File
@@ -15,10 +15,6 @@ actionsToolkit.run(
// main
async () => {
const inputs: Inputs = getInputs();
if (inputs.images.length == 0) {
throw new Error(`images input required`);
}
const toolkit = new Toolkit({githubToken: inputs.githubToken});
const context = await getContext(inputs.context);
const repo = await toolkit.github.repoData();