<commit_before># {{ ansible_managed }}

includes:
  - python-file: bonnyci_functions.py

pipelines:
  - name: check_github
    manager: IndependentPipelineManager
    source: github
    trigger:
      github:
        - event:
            - pr-open
            - pr-change
            - pr-reopen
        - event: pr-comment
          comment: (?i)^\s*recheck\s*$
    start:
      github:
        status: true
    success:
      github:
        status: true
        status_url: &log_link "{{ zuul_logs_url }}/{pipeline.name}/{change.project.name}/{change.number}/{item.enqueue_time}/"
        comment: false
    failure:
      github:
        status: true
        status_url: *log_link
        comment: true

  - name: gate_github
    manager: DependentPipelineManager
    precedence: high
    source: github
    trigger:
      github:
        - event: status
          status: "anne-bonny:check_github:success"
        - event: pr-review
          state: 'approved'
        - event: pr-comment
          comment: (?i)^\s*gate-recheck\s*$
    require:
      status: "anne-bonny:check_github:success"
      approval:
        - review: 2
    reject:
      approval:
        - review: -2
    start:
      github:
        status: true
    success:
      github:
        comment: false
        merge: true
        status: true
        status_url: *log_link
    failure:
      github:
        comment: true
        status: true
        status_url: *log_link

jobs:
  # every job invokes the set_node_options file in bonnyci_functions.py
  - name: ^.*$
    parameter-function: set_node_options

projects:
  - name: BonnyCI/bonnyci.org
    check_github:
      - bonnyci-run-check
    gate_github:
      - bonnyci-run-gate

  - name: BonnyCI/giftwrap
    check_github:
      - tox_py27
    gate_github:
      - tox_py27<commit_msg>add dd-monitors as a project<commit_after># {{ ansible_managed }}

includes:
  - python-file: bonnyci_functions.py

pipelines:
  - name: check_github
    manager: IndependentPipelineManager
    source: github
    trigger:
      github:
        - event:
            - pr-open
            - pr-change
            - pr-reopen
        - event: pr-comment
          comment: (?i)^\s*recheck\s*$
    start:
      github:
        status: true
    success:
      github:
        status: true
        status_url: &log_link "{{ zuul_logs_url }}/{pipeline.name}/{change.project.name}/{change.number}/{item.enqueue_time}/"
        comment: false
    failure:
      github:
        status: true
        status_url: *log_link
        comment: true

  - name: gate_github
    manager: DependentPipelineManager
    precedence: high
    source: github
    trigger:
      github:
        - event: status
          status: "anne-bonny:check_github:success"
        - event: pr-review
          state: 'approved'
        - event: pr-comment
          comment: (?i)^\s*gate-recheck\s*$
    require:
      status: "anne-bonny:check_github:success"
      approval:
        - review: 2
    reject:
      approval:
        - review: -2
    start:
      github:
        status: true
    success:
      github:
        comment: false
        merge: true
        status: true
        status_url: *log_link
    failure:
      github:
        comment: true
        status: true
        status_url: *log_link

jobs:
  # every job invokes the set_node_options file in bonnyci_functions.py
  - name: ^.*$
    parameter-function: set_node_options

projects:
  - name: BonnyCI/bonnyci.org
    check_github:
      - bonnyci-run-check
    gate_github:
      - bonnyci-run-gate

  - name: BonnyCI/datadog-monitors
    check_github:
      - bonnyci-run-check
    gate_github:
      - bonnyci-run-gate

  - name: BonnyCI/giftwrap
    check_github:
      - tox_py27
    gate_github:
      - tox_py27
{'fraction_non_alphanumeric': 0.09711563905795184, 'fraction_numerical': 0.0031754432389521038, 'mean_word_length': 1.8272251308900525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5993602', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1196, 'n_words': 255}