Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for javadoc_on_new_files (0.56 sec)

  1. .cm/javadoc_on_new_files.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      javadoc_on_new_files:
        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K 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