<commit_before>name: Code Review

on:
  workflow_dispatch:
    inputs:
      pullNumber:
        description: 'Number of the pull request to review'
        required: true
  pull_request_target:
    branches: [master, sdk-*]

concurrency:
  group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  code_review:
    runs-on: ubuntu-18.04
    steps:
      - name: 👀 Checkout
        uses: actions/checkout@v2
      - name: ♻️ Restore node modules in tools
        uses: actions/cache@v2
        id: tools-modules-cache
        with:
          path: tools/node_modules
          key: ${{ runner.os }}-tools-modules-${{ hashFiles('tools/yarn.lock') }}
          restore-keys: |
            ${{ runner.os }}-tools-modules-
      - name: 🔬 Reviewing a pull request<commit_msg>[ci] Fix code-review workflow runs being canceled by another PRs<commit_after>name: Code Review

on:
  workflow_dispatch:
    inputs:
      pullNumber:
        description: 'Number of the pull request to review'
        required: true
  pull_request_target:
    branches: [master, sdk-*]

concurrency:
  group: ${{ github.workflow }}-${{ github.event.inputs.pullNumber || github.event.number }}
  cancel-in-progress: true

jobs:
  code_review:
    runs-on: ubuntu-18.04
    steps:
      - name: 👀 Checkout
        uses: actions/checkout@v2
      - name: ♻️ Restore node modules in tools
        uses: actions/cache@v2
        id: tools-modules-cache
        with:
          path: tools/node_modules
          key: ${{ runner.os }}-tools-modules-${{ hashFiles('tools/yarn.lock') }}
          restore-keys: |
            ${{ runner.os }}-tools-modules-
      - name: 🔬 Reviewing a pull request
{'fraction_non_alphanumeric': 0.12492702860478692, 'fraction_numerical': 0.0070052539404553416, 'mean_word_length': 2.3673870333988214, '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': '4130574', 'n_tokens_mistral': 569, 'n_tokens_neox': 540, 'n_words': 138}