<commit_before>name: Check clang format

# N.B.: Runs with a read-only repo token.  Safe(ish) to check out the
# submitted branch.
on: [pull_request]

permissions:
  contents: read

jobs:
  clang-formatter:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - uses: DoozyX/clang-format-lint-action@v0.13
      with:
        source: 'core'
        extensions: 'js'
        # This should be as close as possible to the version that the npm
        # package supports. This can be found by running:
        # npx clang-format --version.
        clangFormatVersion: 13
<commit_msg>chore: enable ts for the clang-format workflow (#6225)<commit_after>name: Check clang format

# N.B.: Runs with a read-only repo token.  Safe(ish) to check out the
# submitted branch.
on: [pull_request]

permissions:
  contents: read

jobs:
  clang-formatter:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - uses: DoozyX/clang-format-lint-action@v0.13
      with:
        source: 'core'
        extensions: 'js,ts'
        # This should be as close as possible to the version that the npm
        # package supports. This can be found by running:
        # npx clang-format --version.
        clangFormatVersion: 13

{'fraction_non_alphanumeric': 0.09309791332263243, 'fraction_numerical': 0.012841091492776886, 'mean_word_length': 2.5730659025787967, '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': '4139039', 'n_tokens_mistral': 420, 'n_tokens_neox': 396, 'n_words': 133}