<commit_before>name: Prettier CI

# This action works with pull requests and pushes
on:
  pull_request:
  push:
    branches:
      # Push events on development branch
      - develop

jobs:
  prettier:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          # Make sure the actual branch is checked out when running on pull requests
          ref: ${{ github.head_ref }}

      - name: Prettify code
        uses: infotexture/prettier_xml_action@v3.1.x
        with:
          # This part is also where you can pass other options, for example:
          prettier_options: --write **/*.{css,dita*,json,md,scss,xml,yaml,yml}
          # Runs the action in dry mode. Files wont get changed and the action fails if there are unprettified files.
          dry: true
<commit_msg>Switch Prettier CI to creyD/prettier_action@v3.3<commit_after>name: Prettier CI

# This action works with pull requests and pushes
on:
  pull_request:
  push:
    branches:
      # Push events on development branch
      - develop

jobs:
  prettier:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          # Make sure the actual branch is checked out when running on pull requests
          ref: ${{ github.head_ref }}

      - name: Prettify code
        uses: creyD/prettier_action@v3.3
        with:
          # This part is also where you can pass other options, for example:
          prettier_options: --write **/*.{css,dita*,json,md,scss,xml,yaml,yml}
          # Install Prettier XML plugin
          prettier_plugins: @prettier/plugin-xml
          # Runs the action in dry mode. Files wont get changed and the action fails if there are unprettified files.
          dry: true

{'fraction_non_alphanumeric': 0.07550335570469799, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 2.3191094619666046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1183941', 'n_tokens_mistral': 553, 'n_tokens_neox': 523, 'n_words': 186}