<commit_before># Documentation available at https://expeditor.chef.io/docs/getting-started/
---
# Slack channel in Chef Software slack to send notifications about build failures, etc
slack:
  notify_channel: sustaining-notify

# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
  - knife-ec-backup

github:
  # This deletes the GitHub PR branch after successfully merged into the release branch
  delete_branch_on_merge: true
  # The tag format to use (e.g. v1.0.0)
  version_tag_format: "v{{version}}"
  # allow bumping the release via label
  minor_bump_labels:
    - "Expeditor: Bump Version Minor"
  major_bump_labels:
    - "Expeditor: Bump Version Major"

changelog:
  rollup_header: Changes not yet released to rubygems.org

# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
  - built_in:bump_version:
      ignore_labels:
        - "Expeditor: Skip Version Bump"
        - "Expeditor: Skip All"
  - bash:.expeditor/update_version.sh:
      only_if: built_in:bump_version
  - built_in:update_changelog:
      ignore_labels:
        - "Expeditor: Skip Changelog"
        - "Expeditor: Skip All"
  - built_in:build_gem:
      only_if: built_in:bump_version
  - trigger_pipeline:habitat/build:
      post_commit: true
      ignore_labels:
        - "Expeditor: Skip All"
        - "Expeditor: Skip Habitat Build"
      only_if: built_in:bump_version

promote:
  actions:
    - built_in:rollover_changelog
    - built_in:publish_rubygems
    - built_in:promote_habitat_packages
  channels:
    - dev
    - acceptance
    - current
    - stable
<commit_msg>Expeditor config tweaks to publish hab packages<commit_after># Documentation available at https://expeditor.chef.io/docs/getting-started/
---
# Slack channel in Chef Software slack to send notifications about build failures, etc
pipelines:
  - habitat/build:
      definition: .expeditor/build.habitat.yml

slack:
  notify_channel: sustaining-notify

# This publish is triggered by the `built_in:publish_rubygems` artifact_action.
rubygems:
  - knife-ec-backup

github:
  # This deletes the GitHub PR branch after successfully merged into the release branch
  delete_branch_on_merge: true
  # The tag format to use (e.g. v1.0.0)
  version_tag_format: "v{{version}}"
  # allow bumping the release via label
  minor_bump_labels:
    - "Expeditor: Bump Version Minor"
  major_bump_labels:
    - "Expeditor: Bump Version Major"

changelog:
  rollup_header: Changes not yet released to rubygems.org

# These actions are taken, in order they are specified, anytime a Pull Request is merged.
merge_actions:
  - built_in:bump_version:
      ignore_labels:
        - "Expeditor: Skip Version Bump"
        - "Expeditor: Skip All"
  - bash:.expeditor/update_version.sh:
      only_if: built_in:bump_version
  - built_in:update_changelog:
      ignore_labels:
        - "Expeditor: Skip Changelog"
        - "Expeditor: Skip All"
  - built_in:build_gem:
      only_if: built_in:bump_version
  - trigger_pipeline:habitat/build:
      post_commit: true
      ignore_labels:
        - "Expeditor: Skip Habitat Build"
        - "Expeditor: Skip All"
      only_if: built_in:bump_version

subscriptions:
  - workload: project_promoted:{{agent_id}}:*
    actions:
    - built_in:rollover_changelog
    - built_in:publish_rubygems
    - built_in:promote_habitat_packages

promote:
  channels:
    - unstable
    - stable

{'fraction_non_alphanumeric': 0.08130787037037036, 'fraction_numerical': 0.001736111111111111, 'mean_word_length': 3.4038216560509555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7446987', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1107, 'n_words': 295}