MCPcopy
hub / github.com/ampproject/amphtml / circleciPrMergeCommit

Function circleciPrMergeCommit

build-system/common/ci.js:182–184  ·  view source on GitHub ↗

* Returns the merge commit for a CircleCI PR build. CIRCLECI_MERGE_COMMIT is * populated by .circleci/fetch_merge_commit.sh. * @return {string}

()

Source from the content-addressed store, hash-verified

180 * @return {string}
181 */
182function circleciPrMergeCommit() {
183 return isCircleci ? env('CIRCLECI_MERGE_COMMIT') : '';
184}
185
186/**
187 * Returns an identifier that is unique to each CircleCI build, discerning for

Callers 1

reportBundleSizeFunction · 0.85

Calls 1

envFunction · 0.70

Tested by

no test coverage detected