<commit_before>name: package

on: [push]

permissions:
  packages: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Set up
        run: |
          docker --version
          docker-compose --version
          echo "${GITHUB_REF}"
      - name: Start services
        run: |
          make services
      - name: Build docker images
        run: |
          make cached-build
      - name: Run tests
        run: make test
      - name: Push docker images (hash)
        if: github.ref == 'ref/head/main'<commit_msg>Make it an or<commit_after>name: package

on: [push]

permissions:
  packages: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Set up
        run: |
          docker --version
          docker-compose --version
          echo "${GITHUB_REF}"
      - name: Start services
        run: |
          make services
      - name: Build docker images
        run: |
          make cached-build
      - name: Run tests
        run: make test
      - name: Push docker images (hash)
        if: github.ref == 'ref/head/main' || startsWith(github.ref, 'refs/tags')
{'fraction_non_alphanumeric': 0.10344827586206896, 'fraction_numerical': 0.001682085786375105, 'mean_word_length': 1.662192393736018, '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': '634732', 'n_tokens_mistral': 376, 'n_tokens_neox': 358, 'n_words': 106}