<commit_before>name: CI
on:
  push:
    branches:
      - '**'
  pull_request:
    branches:
      - '**'

jobs:

  build:
    name: Build and Run
    runs-on: ubuntu-latest
    steps:
      - name: Set up Go 1.14
        uses: actions/setup-go@v1
        with:
          go-version: 1.14

      - name: Use Node.js 10
        uses: actions/setup-node@v1
        with:
          node-version: 10.x

      - name: Check out code into the Go module directory
        uses: actions/checkout@v2

      - name: Get dependencies
        run: |
          go get github.com/mitchellh/gox
          go get github.com/tcnksm/ghr
          go get -v -t -d ./...

      - name: Build
        run: go build ./cmd/semantic-release/

      - name: Test
        run: go test -v ./...

      - name: Release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: echo TODO<commit_msg>chore: fix github workflow<commit_after>name: CI
on:
  push:
    branches:
      - '**'
  pull_request:
    branches:
      - '**'

jobs:

  build:
    name: Build and Run
    runs-on: ubuntu-latest
    steps:
      - name: Set up Go 1.14
        uses: actions/setup-go@v1
        with:
          go-version: 1.14

      - name: Use Node.js 10
        uses: actions/setup-node@v1
        with:
          node-version: 10.x

      - name: Check out code into the Go module directory
        uses: actions/checkout@v2

      - name: Setup PATH
        run: echo "::add-path::~/go/bin"

      - name: Get dependencies
        run: |
          go get github.com/mitchellh/gox
          go get github.com/tcnksm/ghr
          go get -v -t -d ./...

      - name: Build
        run: go build ./cmd/semantic-release/

      - name: Test
        run: go test -v ./...

      - name: Release
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: ./scripts/release || exit 0
{'fraction_non_alphanumeric': 0.11554845580404687, 'fraction_numerical': 0.01437699680511182, 'mean_word_length': 1.4120667522464698, 'pattern_counts': {'":': 1, '<': 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': '203893', 'n_tokens_mistral': 661, 'n_tokens_neox': 621, 'n_words': 171}