<commit_before>name: Update dependencies

on:
  workflow_dispatch:
  schedule:
    - cron: '0 18 * * 0'  # "At 18:00 on Sunday."

jobs:
  update-dependencies:
    name: Update dependencies
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      with:
        python-version: "3.10-dev"
    - uses: excitedleigh/setup-nox@v2.0.0
    - name: "Setup bot user"
      run: |
        git config --global user.name "manylinux-bot[bot]"
        git config --global user.email "89297709+manylinux-bot[bot]@<EMAIL>"
    # we use this step to grab a Github App auth token, so that lastversion can query GitHub API
    # without rate-limit and PRs get run by GHA.
    - uses: tibdex/github-app-token@v1
      id: generate-token
      with:
        app_id: ${{ secrets.MANYLINUX_BOT_APP_ID }}
        private_key: ${{ secrets.MANYLINUX_BOT_APP_PRIVATE_KEY }}
    - name: "Run update native dependencies"
      run: nox --force-color -s update_native_dependencies
      env:
        GITHUB_API_TOKEN: ${{ steps.generate-token.outputs.token }}
    - name: "Run update python dependencies"
      run: nox --force-color -s update_python_dependencies update_python_tools
    - name: Create Pull Request
      if: github.ref == 'refs/heads/main' && github.repository == 'pypa/manylinux'
      uses: peter-evans/create-pull-request@v3
      with:
        commit-message: Update python dependencies
        title: '[Bot] Update dependencies'
        body: |
          Update the versions of our dependencies.

          PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
        branch: update-dependencies-pr
        committer: "manylinux-bot[bot] <892977<EMAIL>[<EMAIL>>"
        author: "manylinux-bot[bot] <<EMAIL>[<EMAIL>]<EMAIL>>"
        token: ${{ steps.generate-token.outputs.token }}
        delete-branch: true<commit_msg>fix: update workflow<commit_after>name: Update dependencies

on:
  workflow_dispatch:
  schedule:
    - cron: '0 18 * * 0'  # "At 18:00 on Sunday."

jobs:
  update-dependencies:
    name: Update dependencies
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: excitedleigh/setup-nox@4c62aee44396909396d10137c747b2633deeee76
    - name: "Setup bot user"
      run: |
        git config --global user.name "manylinux-bot[bot]"
        git config --global user.email "<EMAIL>[<EMAIL>"
    # we use this step to grab a Github App auth token, so that lastversion can query GitHub API
    # without rate-limit and PRs get run by GHA.
    - uses: tibdex/github-app-token@v1
      id: generate-token
      with:
        app_id: ${{ secrets.MANYLINUX_BOT_APP_ID }}
        private_key: ${{ secrets.MANYLINUX_BOT_APP_PRIVATE_KEY }}
    - name: "Run update native dependencies"
      run: nox --force-color --error-on-missing-interpreters -s update_native_dependencies
      env:
        GITHUB_API_TOKEN: ${{ steps.generate-token.outputs.token }}
    - name: "Run update python dependencies"
      run: nox --force-color --error-on-missing-interpreters -s update_python_dependencies update_python_tools
    - name: Create Pull Request
      if: github.ref == 'refs/heads/main' && github.repository == 'pypa/manylinux'
      uses: peter-evans/create-pull-request@v3
      with:
        commit-message: Update python dependencies
        title: '[Bot] Update dependencies'
        body: |
          Update the versions of our dependencies.

          PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
        branch: update-dependencies-pr
        committer: "manylinux-bot[bot] <89297<EMAIL>+manylinux-<EMAIL>[bot]<EMAIL>>"
        author: "manylinux-bot[bot] <8<PASSWORD>09+manylinux-<EMAIL>[<EMAIL>>"
        token: ${{ steps.generate-token.outputs.token }}
        delete-branch: true
{'fraction_non_alphanumeric': 0.12159061942391028, 'fraction_numerical': 0.02013764975783839, 'mean_word_length': 2.8698224852071004, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, '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': '6633845', 'n_tokens_mistral': 1310, 'n_tokens_neox': 1239, 'n_words': 298}