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

Function reporter

scripts/github-actions/check-pr-commit-policy.test.js:94–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94function reporter() {
95 const messages = { errors: [], failures: [], info: [] };
96 return {
97 messages,
98 error: (message) => messages.errors.push(message),
99 setFailed: (message) => messages.failures.push(message),
100 info: (message) => messages.info.push(message),
101 };
102}
103
104for (const marker of ["[skip ci]", "[ci skip]", "[no ci]", "[skip actions]", "[actions skip]"]) {
105 test(`detects ${marker} anywhere in a full message`, () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected