MCPcopy Create free account
hub / github.com/github/gh-aw / readAwContextString

Function readAwContextString

actions/setup/js/add_workflow_run_comment.cjs:172–177  ·  view source on GitHub ↗

* @param {Record |null} awContext * @param {string} key * @returns {string}

(awContext, key)

Source from the content-addressed store, hash-verified

170 * @returns {string}
171 */
172function readAwContextString(awContext, key) {
173 if (!awContext || typeof awContext[key] !== "string") {
174 return "";
175 }
176 return awContext[key].trim();
177}
178
179/**
180 * @param {ReusableStatusComment} reusableComment

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected