File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
.github/actions/reports-group Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3535 'Validate inputs',
3636 async () => Object.entries(JSON.parse(process.env.INPUT_MAP))
3737 .forEach(([key, val]) => {
38- if (!val.trim()) { throw new Error(`Input required and not supplied: ${name }`); }
38+ if (!val.trim()) { throw new Error(`Input required and not supplied: ${key }`); }
3939 })
4040 );
4141
Original file line number Diff line number Diff line change 8484 'Validate inputs',
8585 async () => Object.entries(JSON.parse(process.env.INPUT_MAP))
8686 .forEach(([key, val]) => {
87- if (!val.trim()) { throw new Error(`Input required and not supplied: ${name}`); }
87+ if (!key.startsWith('override-') && !val.trim()) {
88+ throw new Error(`Input required and not supplied: ${key}`);
89+ }
8890 })
8991 );
9092
You can’t perform that action at this time.
0 commit comments