Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. .cm/add_usual_expert.cm

    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If someone is a primary author of the files in a change, but NOT the pr author, automatically add them as a reviewer.
      add_usual_expert:
        if:
          - {{ ('add_usual_expert' | isEnabledAutomation(pr)) }}
          - {{ repo | codeExperts(gt=50) | match(branch.author) | nope }}
        run:
          - action: add-reviewers@v1
            args:
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // 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']);
    
    /**
    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