<commit_before><TravisForm
  @onSubmit={{perform this.triggerBuild}}
  as |form|
>
  <h2 class="h3--teal">
    Trigger a custom build
    <ExternalLinkTo
      @href="https://github.com/travis-ci/beta-features/issues/27"
      @title="Give your feedback on custom build trigger"
      class="badge"
    >
      Beta Feature
    </ExternalLinkTo>
  </h2>
  <p>
    Custom builds exist only on Travis CI and will not appear in your Git history.
  </p>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-branch="true"
      @label="Branch"
      @placeholder="Select a branch"
      @value={{this.triggerBuildBranch}}
      @showValidationStatusIcons={{false}}
      @onChange={{action (mut this.triggerBuildBranch)}}
      as |field|
    >
      <field.select
        @search={{perform this.searchBranches}}
        as |branch|
      >
        {{branch}}
      </field.select>
    </form.field>
  </div>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-message="true"
      @value={{this.triggerBuildMessage}}
      @label="Custom commit message"
      @onChange={{action (mut this.triggerBuildMessage)}}
      @placeholder="Commit message"
      as |field|
    >
      {{field.input}}
    </form.field>
  </div>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-config="true"
      @value={{this.triggerBuildConfig}}
      @label="Custom config"
      @placeholder="Enter config as YAML"
      @onChange={{action (mut this.triggerBuildConfig)}}
      as |field|
    >
      {{field.textarea}}
    </form.field>
  </div>
  <div class="form-elem">
    {{#if this.triggerBuild.isRunning}}
      <LoadingIndicator />
    {{else}}<commit_msg>Make build config input monospace (#2506)<commit_after><TravisForm
  @onSubmit={{perform this.triggerBuild}}
  as |form|
>
  <h2 class="h3--teal">
    Trigger a custom build
    <ExternalLinkTo
      @href="https://github.com/travis-ci/beta-features/issues/27"
      @title="Give your feedback on custom build trigger"
      class="badge"
    >
      Beta Feature
    </ExternalLinkTo>
  </h2>
  <p>
    Custom builds exist only on Travis CI and will not appear in your Git history.
  </p>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-branch="true"
      @label="Branch"
      @placeholder="Select a branch"
      @value={{this.triggerBuildBranch}}
      @showValidationStatusIcons={{false}}
      @onChange={{action (mut this.triggerBuildBranch)}}
      as |field|
    >
      <field.select
        @search={{perform this.searchBranches}}
        as |branch|
      >
        {{branch}}
      </field.select>
    </form.field>
  </div>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-message="true"
      @value={{this.triggerBuildMessage}}
      @label="Custom commit message"
      @onChange={{action (mut this.triggerBuildMessage)}}
      @placeholder="Commit message"
      as |field|
    >
      {{field.input}}
    </form.field>
  </div>
  <div class="form-elem">
    <form.field
      data-test-trigger-build-config="true"
      @value={{this.triggerBuildConfig}}
      @label="Custom config"
      @placeholder="Enter config as YAML"
      @onChange={{action (mut this.triggerBuildConfig)}}
      as |field|
    >
      {{field.textarea class="monospace"}}
    </form.field>
  </div>
  <div class="form-elem">
    {{#if this.triggerBuild.isRunning}}
      <LoadingIndicator />
    {{else}}
{'fraction_non_alphanumeric': 0.15188405797101448, 'fraction_numerical': 0.004057971014492754, 'mean_word_length': 2.706766917293233, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '3011464', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1105, 'n_words': 223}