<commit_before>name: Release tagger
on:
  workflow_dispatch:
    inputs:
      action:
        description: 'tagger action (promote | rollback)'
        required: true
      head:
        description: 'head AMP version'
        required: true
      base:
        description: 'base AMP version'
        required: true
      channel:
        description: 'release channel (beta-opt-in | beta-percent | stable | lts)'
        required: true
      time:
        description: 'action time'
        required: true
      sha:
        description: 'commit sha'
        required: true
jobs:
  tagger:
    environment: release_tagger
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-node@v2
        with:
          node-version: '16'
      - uses: actions/checkout@v2
      - run: bash ./.github/workflows/install_dependencies.sh
      - name: Run tagger
        run: node ./build-system/release-tagger/index.js \
          ${{ github.event.inputs.action }} \
          ${{ github.event.inputs.head }} \
          ${{ github.event.inputs.base }} \
          ${{ github.event.inputs.channel }} \
          ${{ github.event.inputs.time }} \
          ${{ github.event.inputs.sha }}
        env:
          GITHUB_TOKEN: ${{ secrets.AMPPROJECTBOT }}<commit_msg>🏗 Release tagger pipe (#36569)<commit_after>name: Release tagger
on:
  workflow_dispatch:
    inputs:
      action:
        description: 'tagger action (promote | rollback)'
        required: true
      head:
        description: 'head AMP version'
        required: true
      base:
        description: 'base AMP version'
        required: true
      channel:
        description: 'release channel (beta-opt-in | beta-percent | stable | lts)'
        required: true
      time:
        description: 'action time'
        required: true
      sha:
        description: 'commit sha'
        required: true
jobs:
  tagger:
    environment: release_tagger
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-node@v2
        with:
          node-version: lts/*
      - uses: actions/checkout@v2
      - run: bash ./.github/workflows/install_dependencies.sh
      - name: Run tagger
        run: |
          node ./build-system/release-tagger/index.js \
            ${{ github.event.inputs.action }} \
            ${{ github.event.inputs.head }} \
            ${{ github.event.inputs.base }} \
            ${{ github.event.inputs.channel }} \
            ${{ github.event.inputs.time }} \
            ${{ github.event.inputs.sha }}
        env:
          GITHUB_TOKEN: ${{ secrets.AMPPROJECTBOT }}
{'fraction_non_alphanumeric': 0.11780715396578538, 'fraction_numerical': 0.0042768273716951785, 'mean_word_length': 1.8305830583058307, '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': '4921025', 'n_tokens_mistral': 776, 'n_tokens_neox': 744, 'n_words': 168}