Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. .cm/platform_labels.cm

      - pr_created
      - commit
      - comment_added
    
    automations:
    
      # Label changes by affected platforms (in blue)
      {% for platform in platforms %}
      platform_label_{{ platform.name }}:
        if:
          - {{ ('platform_labels' | isEnabledAutomation(pr)) }}
          - {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField(platform.name, 'files') | nullToEmpty | some }}
        run:
          - action: add-label@v1
            args:
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

    // 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
     * @description Returns true if the given automation should run against the given PR.
     *
     * This is determined by checking if any of the following conditions are met:
    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