Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Pr (0.21 sec)

  1. .github/workflows/trusted_partners.js

        This allows us to reduce the delay to external partners
        Add Labels - kokoro:force-run
        The PR is also assigned to specific teams to fast track review
        Additional reviewers can be added manually based on PR contents
      @param {!object}
        github enables querying for PR and also create issue using rest endpoint
        context has the commit message details in the payload
    JavaScript
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledUser/index.js

     * @param {string} Input - The GitHub username to check.
     * @returns {boolean} Returns true if the user is specified in any of the lists of Gradle BT team members above, otherwise false.
     * @example {{ pr.author | isEnabledUser }}
     */
    function isEnabledUser(username) {
    JavaScript
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Feb 05 22:00:34 GMT 2024
    - 923 bytes
    - Viewed (0)
  3. .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)
  4. src/main/webapp/js/admin/plugins/form-validator/uk.js

    e=0;e<10;e++)d+=a[e]*b[e];if(parseInt(a.charAt(0))===c[d%11])return!0}return!1},errorMessage:"",errorMessageKey:"badUkUtr"}),a.formUtils.addValidator({name:"uknin",validatorFunction:function(a){return!!/^(?!BG)(?!GB)(?!NK)(?!KN)(?!TN)(?!NT)(?!ZZ)(?:[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z])(?:\s*\d\s*){6}([A-D]|\s)$/i.test(a)},errorMessage:"",errorMessageKey:"badUkNin"})}(a)});...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  5. .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)
  6. .cm/plugins/filters/isEnabledAutomation/index.js

     * @param {Map} pr - The gitStream PR instance to check (includes metadata related to the pull request).
     * @returns {boolean} Returns true if the outlined conditions are met, otherwise false.
     * @example {{ 'platform_labels' | isEnabledAutomation(pr) }}
     */
    function isEnabledAutomation(automationName, pr) {
        let result;
        const automationActivations = enabled.get(automationName) || [];
    
    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)
  7. .github/workflows/create_issue.js

      console.log(`Original PR: ${pr_number} and Rollback Commit: ${rollback_commit}`);
      // Get the Original PR Details
      const pr_resp = await github.rest.pulls.get({
        owner,
        repo,
        pull_number: pr_number
      });
      if (pr_resp.status != 200 || pr_resp.data.state != 'closed') {
        console.log(`PR:{pr_number} is not found or closed.  Not a valid condition to create an issue.`);
        console.log(pr_resp);
    JavaScript
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  8. .cm/plugins/filters/computeStatistics/index.js

    /**
     * @module computeStatistics
     * @description Summarizes the changes to files in the PR by platform.
     *
     * @param {Map} groupedFiles - map of platforms for containing info about the changes to files in that platform, from call to categorize
     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
     * @returns {[Object]} Returns list of computed summary statistic objects for each platform in the input groupedFiles
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. .cm/plugins/filters/categorize/index.js

     * @description Returns a mapping of platforms to the information about the files involved in the PR contained in each platform
     * @param {Map} fileOwners mapping of platform name to a list of files involved in the change located in that platform
     * @param {[FileMetadata]} fileMetadatas - gitStream's list of metadata about file changes in the PR including path
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. .cm/plugins/filters/summaryTable/index.js

        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
        let result = `:bar_chart: **Changes by ${title}: this PR is ${Math.round(newRatio, 2)}% new code**`;
    
        // Only title by Platform
        if (title === "Platform") {
            result += `
      <br>${platformsAffected(preppedStatistics)}`;
        }
    
        result += `
      <details>
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top