<commit_before>name: CI

on: push

jobs:
  confirm_config_and_documentation:
    runs-on: ubuntu-latest
    name: Confirm config and documentation
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
          bundler-cache: true
      - run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation

  main:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - "3.0"
          - jruby
        task:
          - internal_investigation
          - spec
        rubocop_version:
          - gem
        include:<commit_msg>Trigger GitHub Actions workflow on pull requests<commit_after>name: CI

on:
  pull_request:
  push:
    branches:
      - master

jobs:
  confirm_config_and_documentation:
    runs-on: ubuntu-latest
    name: Confirm config and documentation
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
          bundler-cache: true
      - run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation

  main:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - "3.0"
          - jruby
        task:
          - internal_investigation
          - spec
        rubocop_version:
          - gem
        include:
{'fraction_non_alphanumeric': 0.07539410555174778, 'fraction_numerical': 0.01644962302947224, 'mean_word_length': 1.5524475524475525, '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': '1430419', 'n_tokens_mistral': 477, 'n_tokens_neox': 440, 'n_words': 102}