<commit_before>name: Release
on:
  push:
    branches:
      - master
      - '[0-9]+.x'
      - '[0-9]+.[0-9]+.x'
jobs:
  release:
    if: "!contains(github.event.head_commit.message, 'skip ci')"
    name: Release
    timeout-minutes: 5
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: Brightspace/third-party-actions@actions/checkout
        with:
          persist-credentials: false
      - name: Setup Node
        uses: Brightspace/third-party-actions@actions/setup-node
      - name: Semantic Release
        id: semantic-release
        uses: BrightspaceUI/actions/semantic-release@master
        with:
          DRY_RUN: true
          GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }}
          NPM: true
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
      - name: Publish to CDN
        run: |
            echo release: ${{ steps.semantic-release.outputs.RELEASE }}
            echo version: ${{ steps.semantic-release.outputs.VERSION }}
            if [ ${{ steps.semantic-release.outputs.RELEASE }} == true ]; then
              echo "Publishing to the CDN version: ${{ steps.semantic-release.outputs.VERSION }}"
              #npx frau-publisher --version ${{ steps.semantic-release.outputs.VERSION }}
            else
              echo "No release, skipping publish to CDN."
            fi<commit_msg>fix: using if on step<commit_after>name: Release
on:
  push:
    branches:
      - master
      - '[0-9]+.x'
      - '[0-9]+.[0-9]+.x'
jobs:
  release:
    if: "!contains(github.event.head_commit.message, 'skip ci')"
    name: Release
    timeout-minutes: 5
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: Brightspace/third-party-actions@actions/checkout
        with:
          persist-credentials: false
      - name: Setup Node
        uses: Brightspace/third-party-actions@actions/setup-node
      - name: Semantic Release
        id: semantic-release
        uses: BrightspaceUI/actions/semantic-release@master
        with:
          GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }}
          NPM: true
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
      - name: Publish to CDN
        if: steps.semantic-release.outputs.RELEASE == true
        run: |
            echo "Publishing to the CDN as version: ${{ steps.semantic-release.outputs.VERSION }}"
            npx frau-publisher --version ${{ steps.semantic-release.outputs.VERSION }}
{'fraction_non_alphanumeric': 0.12219451371571072, 'fraction_numerical': 0.006650041562759767, 'mean_word_length': 2.0819462227912933, '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': '749188', 'n_tokens_mistral': 752, 'n_tokens_neox': 736, 'n_words': 154}