<commit_before>name: build
jobs:
  build:
    container:
      image: docker:git
      env:
        BARCELONA_ENDPOINT: https://barcelona.degica.com
        DOCKER_REPOSITORY: quay.io/degica/barcelona
        DOCKER_BUILDKIT: '1'
        QUAY_USERNAME: degica+github_actions
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@v2
    - name: setup
      run: git submodule update --init
    - name: script
      run: |-
        docker login -u "$QUAY_USERNAME" -p "${{ secrets.QUAY_TOKEN }}" quay.io

        # push a tag named after the branch for debugging.
        # if the branch does not get provided, it's not too important anyway
        docker build . -t $DOCKER_REPOSITORY:$GITHUB_HEAD_REF --pull || true
        docker push $DOCKER_REPOSITORY:$GITHUB_HEAD_REF || true

        docker build . -t $DOCKER_REPOSITORY:$GITHUB_SHA --pull
        docker push $DOCKER_REPOSITORY:$GITHUB_SHA
    - name: deploy_setup
      if: {{ github.ref == 'ref/head/master' }}
      run: |-
        curl -L -o bcn.zip https://github.com/degica/barcelona-cli/releases/latest/download/bcn_linux_amd64.zip
        unzip ./bcn.zip && mv ./bcn /usr/bin/bcn

    - name: deploy_script
      if: {{ github.ref == 'ref/head/master' }}
      run: bcn deploy -q -e production --tag $GITHUB_SHA --heritage-token ${{ secrets.MAINLINE_HERITAGE_TOKEN }}
'on':
  push:
    branches:
    - master
  pull_request:
    branches:
    - master<commit_msg>misspelled refs<commit_after>name: build
jobs:
  build:
    container:
      image: docker:git
      env:
        BARCELONA_ENDPOINT: https://barcelona.degica.com
        DOCKER_REPOSITORY: quay.io/degica/barcelona
        DOCKER_BUILDKIT: '1'
        QUAY_USERNAME: degica+github_actions
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@v2
    - name: setup
      run: git submodule update --init
    - name: script
      run: |-
        docker login -u "$QUAY_USERNAME" -p "${{ secrets.QUAY_TOKEN }}" quay.io

        # push a tag named after the branch for debugging.
        # if the branch does not get provided, it's not too important anyway
        docker build . -t $DOCKER_REPOSITORY:$GITHUB_HEAD_REF --pull || true
        docker push $DOCKER_REPOSITORY:$GITHUB_HEAD_REF || true

        docker build . -t $DOCKER_REPOSITORY:$GITHUB_SHA --pull
        docker push $DOCKER_REPOSITORY:$GITHUB_SHA
    - name: deploy_setup
      if: github.ref == 'refs/head/master'
      run: |-
        curl -L -o bcn.zip https://github.com/degica/barcelona-cli/releases/latest/download/bcn_linux_amd64.zip
        unzip ./bcn.zip && mv ./bcn /usr/bin/bcn

    - name: deploy_script
      if: github.ref == 'refs/head/master'
      run: bcn deploy -q -e production --tag $GITHUB_SHA --heritage-token ${{ secrets.MAINLINE_HERITAGE_TOKEN }}
'on':
  push:
    branches:
    - master
  pull_request:
    branches:
    - master
{'fraction_non_alphanumeric': 0.11358885017421602, 'fraction_numerical': 0.005574912891986063, 'mean_word_length': 2.4260143198090693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1331376', 'n_tokens_mistral': 1053, 'n_tokens_neox': 1002, 'n_words': 230}