<commit_before>name: awless

on:
  workflow_dispatch:
  push:
    branches:
      - 'master'
      - 'feature/binenv'
    paths:
      - 'binenv/**'
      - '.github/workflows/awless.yml'
  schedule:
      - cron: "0 0 * * *"

jobs:
  awless:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true
      -
        name: Login to GHCR
        uses: docker/login-action@v1
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build GHCR images
        env:
          DOCKER_REPO: ghcr.io/efrecon/awless
          SOURCE_COMMIT: ${{ github.sha }}
          MIN_VERSION: "0.1.0"
        run: cd binenv/distribution && ./build
      -
        name: Push GHCR images
        env:
          DOCKER_REPO: ghcr.io/efrecon/awless
          SOURCE_COMMIT: ${{ github.sha }}
          MIN_VERSION: "0.1.0"
        run: cd binenv/distribution && ./push<commit_msg>move version and sha globally for reuse<commit_after>name: awless

on:
  workflow_dispatch:
  push:
    branches:
      - 'master'
      - 'feature/binenv'
    paths:
      - 'binenv/**'
      - '.github/workflows/awless.yml'
  schedule:
      - cron: "0 0 * * *"

env:
  SOURCE_COMMIT: ${{ github.sha }}
  MIN_VERSION: "0.1.0"

jobs:
  awless:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true
      -
        name: Login to GHCR
        uses: docker/login-action@v1
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build GHCR images
        env:
          DOCKER_REPO: ghcr.io/efrecon/awless
        run: cd binenv/distribution && ./build
      -
        name: Push GHCR images
        env:
          DOCKER_REPO: ghcr.io/efrecon/awless
        run: cd binenv/distribution && ./push
{'fraction_non_alphanumeric': 0.11508325171400588, 'fraction_numerical': 0.00832517140058766, 'mean_word_length': 1.6192307692307693, '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': '6483469', 'n_tokens_mistral': 721, 'n_tokens_neox': 677, 'n_words': 142}