- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for comment (0.14 sec)
-
.cm/plugins/filters/isEnabledAutomation/index.js
const automationActivations = enabled.get(automationName) || []; // Check if always enabled, or enabled by comment if (automationActivations.includes('always')) { result = true; } else { result = Object.values(pr.comments).some(comment => { const checks = extractCheckNames(comment.content); if (checks.includes(automationName)) { return true; } });
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 3.1K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/ignore/index.js
const checkPattern = pattern => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) // > A line starting with # serves as a comment. && pattern.indexOf('#') !== 0 const splitPattern = pattern => pattern.split(REGEX_SPLITALL_CRLF) class IgnoreRule { constructor ( origin, pattern, negative,
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 17.5K bytes - Viewed (0) -
.cm/plugins/filters/byCodeowner/index.js
request: { fetch }, auth, }); const res = await octokit.repos.getContent({ owner, repo, path: pathToCodeOwners }); return Buffer.from(res.data.content, 'base64').toString() } function codeownersMapping(data) { return data .toString() .split('\n') .filter(x => x && !x.startsWith('#')) .map(x => x.split("#")[0])
JavaScript - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Mon Apr 22 19:12:32 GMT 2024 - 2.8K bytes - Viewed (0)