Skip to content

Commit

Permalink
report-missing-inputs: treat empty inputs as unset (#6)
Browse files Browse the repository at this point in the history
Note that missing secrets are a common case of empty inputs
  • Loading branch information
jsoref authored Apr 15, 2024
1 parent 4731a1d commit ff2d8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/report-missing-inputs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sub get_from_json_env {
if (/^ (\S+):/) {
$key = $1;
} elsif (/^ required: true/) {
push @required, $key unless %inputs && defined $inputs{$key};
push @required, $key unless %inputs && defined $inputs{$key} && $inputs{key} =~ /./;
}
}
}
Expand Down

0 comments on commit ff2d8de

Please sign in to comment.