<commit_before>name: Publish

on:
  workflow_dispatch:

jobs:
  publish:
    name: Publish
    runs-on: ubuntu-latest
    environment: release
    steps:
      - uses: actions/checkout@main
        with:
          fetch-depth: 0
          persist-credentials: true # needed for git push

      - uses: ./.github/actions/ci-setup

      - run: yarn build

      - name: npm publish, git tag, git push
        uses: changesets/action@v1
        with:
          version: exit 1
          publish: yarn changeset publish
          createGithubReleases: false
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}<commit_msg>Fix publish GitHub action (#8015)<commit_after>name: Publish

on:
  workflow_dispatch:

jobs:
  publish:
    name: Publish
    runs-on: ubuntu-latest
    environment: release
    steps:
      - uses: actions/checkout@main
        with:
          fetch-depth: 0
          persist-credentials: true # needed for git push

      - uses: ./.github/actions/ci-setup

      - run: yarn build

      - name: git config
        run: |
          git config --global user.name 'Keystonejs Release Bot'
          git config --global user.email '<EMAIL>'

      - name: npm publish, git tag
        run: yarn changeset publish --tag latest
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

      - run: git push origin --follow-tags
{'fraction_non_alphanumeric': 0.09341825902335456, 'fraction_numerical': 0.005661712668082095, 'mean_word_length': 1.933609958506224, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5910954', 'n_tokens_mistral': 441, 'n_tokens_neox': 419, 'n_words': 121}