<commit_before>name: Bump version and publish release
on:
  workflow_dispatch: {}
  push:
    branches:
      - main, mm-PF-569-add-bumper-gha
  pull_request:
    branches: [ '**' ]
jobs:
  bump-version-publish-release:
    runs-on: ubuntu-latest
    if: "!contains( github.event.sender.login, 'broadbot')"
    steps:
      - name: Checkout current code
        uses: actions/checkout@master
        with:
          token: ${{ secrets.BROADBOT_GITHUB_TOKEN }}
      - name: Bump tag and build version
        uses: databiosphere/github-actions/actions/bumper@v0.0.3
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          RELEASE_BRANCHES: main
          VERSION_FILE_PATH: build.gradle
          VERSION_LINE_MATCH: ^version\
      - name: Publish a release
        run: |
          echo "TODO (PF-570): ./tools/publish-release.sh $RELEASE_VERSION true"
        env:
          GITHUB_TOKEN: ${{ secrets.BROADBOT_GITHUB_TOKEN }}
          RELEASE_VERSION: ${{ steps.tag.outputs.tag }}<commit_msg>Put back regex.<commit_after>name: Bump version and publish release
on:
  workflow_dispatch: {}
  push:
    branches:
      - main, mm-PF-569-add-bumper-gha
  pull_request:
    branches: [ '**' ]
jobs:
  bump-version-publish-release:
    runs-on: ubuntu-latest
    if: "!contains( github.event.sender.login, 'broadbot')"
    steps:
      - name: Checkout current code
        uses: actions/checkout@master
        with:
          token: ${{ secrets.BROADBOT_GITHUB_TOKEN }}
      - name: Bump tag and build version
        uses: databiosphere/github-actions/actions/bumper@v0.0.3
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          RELEASE_BRANCHES: main
          VERSION_FILE_PATH: build.gradle
          VERSION_LINE_MATCH: ^version
      - name: Publish a release
        run: |
          echo "TODO (PF-570): ./tools/publish-release.sh $RELEASE_VERSION true"
        env:
          GITHUB_TOKEN: ${{ secrets.BROADBOT_GITHUB_TOKEN }}
          RELEASE_VERSION: ${{ steps.tag.outputs.tag }}
{'fraction_non_alphanumeric': 0.11422944362383063, 'fraction_numerical': 0.008862629246676515, 'mean_word_length': 2.3810316139767056, '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': '798086', 'n_tokens_mistral': 692, 'n_tokens_neox': 671, 'n_words': 132}