Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Repo (0.14 sec)

  1. .github/workflows/trusted_partners.js

        owner: context.repo.owner,
        repo: context.repo.repo,
        labels: labels
      });
      if (resp_label.status >= 400) {
        console.log(resp_label);
        throw "Error adding labels to PR";
      }
      if (assignees.length > 0) {
        const resp_assign = await github.rest.issues.addAssignees({
          issue_number: context.issue.number,
          owner: context.repo.owner,
          repo: context.repo.repo,
    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/byCodeowner/index.js

     * @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
     * @example {{ files | byCodeowner(pr, env.CODEOWNERS_TOKEN, '.github/CODEOWNERS') }}
     **/
    
    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)
  3. .github/workflows/create_issue.js

      const pr_number = parseInt(pr_match_groups[1]);
      const owner = context.payload.repository.owner.name;
      const repo = context.payload.repository.name;
      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') {
    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)
Back to top