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

Function inputValues

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected