Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for includes_todos (0.18 sec)

  1. .cm/includes_todos.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # If someone adds a TODO, remind them about it by requesting removal
      includes_todos:
        if:
          - {{ ('includes_todos' | isEnabledAutomation(pr)) }}
          - {{ source.diff.files | matchDiffLines(regex=r/(TODO)|(todo)/) | some }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

    const enabled = new Map();
    
    // Require Opt-In/User Request/Community PR
    enabled.set('includes_todos', ['community', 'tresat']);
    enabled.set('javadoc_on_new_files', ['community', 'tresat']);
    enabled.set('lacks_tests', ['community', 'tresat']);
    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    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