<commit_before>name: "Go"
on:
  push:
    branches:
      - master
      - feature/**
  pull_request:
    branches:
      - master
      - feature/**

jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
    - id: setup
      run: |
        if ! [[ -z "${{ secrets.GO_TOKEN }}" ]]; then
          echo ::set-output name=has_token::true
        else
          echo ::set-output name=has_token::false
        fi
    - run: |
        jq -nc '{"state": "pending", "context": "go tests"}' | \
        curl -sL -X POST -d @- \<commit_msg>github: Don't build the Go branch for feature branches<commit_after>name: "Go"
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
      - feature/**

jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
    - id: setup
      run: |
        if ! [[ -z "${{ secrets.GO_TOKEN }}" ]]; then
          echo ::set-output name=has_token::true
        else
          echo ::set-output name=has_token::false
        fi
    - run: |
        jq -nc '{"state": "pending", "context": "go tests"}' | \
        curl -sL -X POST -d @- \
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.0, 'mean_word_length': 1.7121588089330024, 'pattern_counts': {'":': 4, '<': 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': '7522955', 'n_tokens_mistral': 375, 'n_tokens_neox': 370, 'n_words': 95}