MCPcopy Create free account
hub / github.com/alibaba/open-code-review / inputValues

Function inputValues

scripts/github-actions/action-contract.test.js:171–177  ·  view source on GitHub ↗
(overrides = {})

Source from the content-addressed store, hash-verified

169const STEPS = parseSteps(ACTION_TEXT);
170
171function inputValues(overrides = {}) {
172 const values = {};
173 for (const [name, definition] of Object.entries(INPUTS)) {
174 if (definition.default !== undefined) values[name] = definition.default;
175 }
176 return Object.assign(values, overrides);
177}
178
179function resolveInputExpressions(value, values, stepOutputs = {}) {
180 const resolved = String(value)

Calls

no outgoing calls

Tested by

no test coverage detected