Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Content (0.17 sec)

  1. .github/workflows/create_issue.js

      @param {!object}
        github enables querying for PR and also create issue using rest endpoint
        context has the commit message details in the payload
      @return {string} Returns the issue number and title
    */
    module.exports = async ({github, context}) => {
      const rollback_commit = context.payload.head_commit.id;
      const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || [];
      if (pr_match_groups.length != 2) {
    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)
  2. .github/workflows/trusted_partners.js

        issue_number: context.issue.number,
        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,
    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)
Back to top