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

Function inputValues

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

Source from the content-addressed store, hash-verified

156const STEPS = parseSteps(ACTION_TEXT);
157
158function inputValues(overrides = {}) {
159 const values = {};
160 for (const [name, definition] of Object.entries(INPUTS)) {
161 if (definition.default !== undefined) values[name] = definition.default;
162 }
163 return Object.assign(values, overrides);
164}
165
166function resolveInputExpressions(value, values, stepOutputs = {}) {
167 const resolved = String(value)

Calls

no outgoing calls

Tested by

no test coverage detected