new builds

This commit is contained in:
Stefan Petrushevski
2023-03-08 15:24:23 +01:00
parent d5c2f70a7f
commit 1d7d9a2c93
2 changed files with 1 additions and 18 deletions
Generated Vendored
-17
View File
@@ -44993,7 +44993,6 @@ function readInlineConfig() {
const base_ref = getOptionalInput('base-ref');
const head_ref = getOptionalInput('head-ref');
const comment_summary_in_pr = getOptionalBoolean('comment-summary-in-pr');
const allow_dependencies_licenses = parseRecord(getOptionalRecord('allow-dependencies-licenses'));
validateLicenses('allow-licenses', allow_licenses);
validateLicenses('deny-licenses', deny_licenses);
const keys = {
@@ -45001,7 +45000,6 @@ function readInlineConfig() {
fail_on_scopes,
allow_licenses,
deny_licenses,
allow_dependencies_licenses,
allow_ghsas,
license_check,
vulnerability_check,
@@ -45019,21 +45017,6 @@ function getOptionalInput(name) {
const value = core.getInput(name);
return value.length > 0 ? value : undefined;
}
function getOptionalRecord(records) {
const value = core.getInput(records);
return value.length > 0 ? yaml_1.default.parse(value) : undefined;
}
function parseRecord(records) {
if (records === undefined) {
return records;
}
else {
return Object.fromEntries(Object.entries(records).map(([key, value]) => [
key,
value.map(x => x.trim())
]));
}
}
function parseList(list) {
if (list === undefined) {
return list;
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long