Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for estimated_time_to_review (0.25 sec)

  1. .cm/estimated_time_to_review.cm

    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # Add a label that indicates how many minutes it will take to review the PR and categorizes it
      estimated_time_to_review:
        if:
          - {{ ('estimated_time_to_review' | isEnabledAutomation(pr)) }}
        run:
          - action: add-label@v1
            # etr is defined in the last section of this example
            args:
              label: "{{ calc.etr }} min review"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    enabled.set('add_usual_expert', ['always']);
    enabled.set('complex_changes', ['always']);
    enabled.set('estimated_time_to_review', ['always']);
    enabled.set('misc_labels', ['always']);
    enabled.set('platform_labels', ['always']);
    
    /**
     * @module isEnabledAutomation
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top