Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Content (0.15 sec)

  1. .cm/plugins/filters/byCodeowner/index.js

    /**
     * @module byCodeowner
     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

        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;
                }
            });
        }
    
        // If not found to be enabled by the above checks, check if enabled by user
        if (!result) {
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byPlatform/index.js

    /**
     * @module byPlatform
     * @description Groups the PR's files by platform based on the file's path.
     * @param {string[]} files - the gitStream's files context variable
     * @returns {Map} - Map from platform to list of files in this PR in it
     * @example {{ owners | byPlatform }}
     */
    function byPlatform(files) {
        const result = new Map();
        files.forEach(file => {
            const platform = getPlatform(file);
            if (!result.has(platform)) {
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top