<commit_before>name: release

on:
  push:
    tags: ["v3.*"]

jobs:
  main:
    uses: adferrand/dnsrobocert/.github/workflows/main.yml
  pypi:
    runs-on: ubuntu-20.04
    needs: [main]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: "3.10"
      - run: |
          python -m pip install -U pip
          pip install poetry
      - run: poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}" --dry-run
        env:
          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  docker:
    runs-on: ubuntu-20.04
    needs: [main]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: "3.10"
      - run: |
          python -m pip install -U pip
          pip install poetry
      - run: echo "::set-output name=version::$(poetry version | awk '{print $2}')"
        id: version
      - uses: docker/setup-qemu-action@v1
      - uses: docker/setup-buildx-action@v1<commit_msg>Remove dry-run<commit_after>name: release

on:
  push:
    tags: ["v3.*"]

jobs:
  main:
    uses: adferrand/dnsrobocert/.github/workflows/main.yml
  pypi:
    runs-on: ubuntu-20.04
    needs: [main]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: "3.10"
      - run: |
          python -m pip install -U pip
          pip install poetry
      - run: poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}"
        env:
          PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
          PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
  docker:
    runs-on: ubuntu-20.04
    needs: [main]
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v2
        with:
          python-version: "3.10"
      - run: |
          python -m pip install -U pip
          pip install poetry
      - run: echo "::set-output name=version::$(poetry version | awk '{print $2}')"
        id: version
      - uses: docker/setup-qemu-action@v1
      - uses: docker/setup-buildx-action@v1
{'fraction_non_alphanumeric': 0.13480055020632736, 'fraction_numerical': 0.020174232003668042, 'mean_word_length': 1.960651289009498, 'pattern_counts': {'":': 2, '<': 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': '2988125', 'n_tokens_mistral': 777, 'n_tokens_neox': 739, 'n_words': 167}