<commit_before>name: Handle external events

on: repository_dispatch

jobs:
  build-latest-docker-image:
    if: github.event.action == 'cloudsmith-package-synchnronised' && github.event.client_payload.data.filename == 'ponyc-x86-64-unknown-linux-gnu.tar.gz'

    name: Build latest Docker image
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Docker login
        run: "docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD"
        env:
          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
      - name: Build and push
        run: bash .dockerfiles/x86-64-unknown-linux-gnu/build-and-push.bash

  build-latest-alpine-docker-image:
    if: github.event.action == 'cloudsmith-package-synchnronised' && github.event.client_payload.data.filename == 'ponyc-x86-64-unknown-linux-musl.tar.gz'

    name: Build latest Alpine based Docker image
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Docker login
        run: "docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD"
        env:
          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
      - name: Build and push
        run: bash .dockerfiles/x86-64-unknown-linux-musl/build-and-push.bash<commit_msg>Fix misspelling in event name<commit_after>name: Handle external events

on: repository_dispatch

jobs:
  build-latest-docker-image:
    if: github.event.action == 'cloudsmith-package-synchronised' && github.event.client_payload.data.filename == 'ponyc-x86-64-unknown-linux-gnu.tar.gz'

    name: Build latest Docker image
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Docker login
        run: "docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD"
        env:
          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
      - name: Build and push
        run: bash .dockerfiles/x86-64-unknown-linux-gnu/build-and-push.bash

  build-latest-alpine-docker-image:
    if: github.event.action == 'cloudsmith-package-synchronised' && github.event.client_payload.data.filename == 'ponyc-x86-64-unknown-linux-musl.tar.gz'

    name: Build latest Alpine based Docker image
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Docker login
        run: "docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD"
        env:
          DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
          DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
      - name: Build and push
        run: bash .dockerfiles/x86-64-unknown-linux-musl/build-and-push.bash
{'fraction_non_alphanumeric': 0.11699779249448124, 'fraction_numerical': 0.013245033112582781, 'mean_word_length': 2.9010043041606886, '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': '4544752', 'n_tokens_mistral': 973, 'n_tokens_neox': 904, 'n_words': 173}