chore(deps): bump astral-sh/setup-uv in the actions group Bumps the actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 9.0.0 to 10.0.1 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/c771a70e6277c0a99b617c7a806ffedaca235ff9...20cfd1bf945f4377ade1205e4dbc17946fc9a30d) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: 10.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
74 lines
2.6 KiB
YAML
74 lines
2.6 KiB
YAML
name: Update dependencies
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/update-dependencies.yml'
|
|
- 'bin/update_pythons.py'
|
|
- 'bin/update_docker.py'
|
|
- 'bin/update_virtualenv.py'
|
|
- 'bin/projects.py'
|
|
- 'docs/data/projects.yml'
|
|
- 'noxfile.py'
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 6 * * 1' # "At 06:00 on Monday."
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
update-dependencies:
|
|
name: Update dependencies
|
|
if: github.repository_owner == 'pypa' || github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
environment: ${{ github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel' && 'update-dependencies-workflow' || '' }}
|
|
steps:
|
|
|
|
# we use this step to grab a Github App auth token, so that PRs generated by this workflow
|
|
# run the GHA tests.
|
|
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
id: generate-token
|
|
if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel'
|
|
with:
|
|
client-id: ${{ secrets.CIBUILDWHEEL_BOT_APP_ID }}
|
|
private-key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }}
|
|
permission-contents: write
|
|
permission-pull-requests: write
|
|
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
|
|
with:
|
|
python-version: "3.14"
|
|
|
|
- name: "Run update: dependencies"
|
|
run: uvx nox --force-color -s update_constraints
|
|
- name: "Run update: python configs"
|
|
run: uvx nox --force-color -s update_pins
|
|
- name: "Run update: docs user projects"
|
|
run: uvx nox --force-color -s update_proj -- --auth=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Create Pull Request
|
|
if: github.ref == 'refs/heads/main' && github.repository == 'pypa/cibuildwheel'
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
commit-message: Update 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
|
|
sign-commits: true
|
|
token: ${{ steps.generate-token.outputs.token }}
|
|
delete-branch: true
|
|
labels: |
|
|
CI: GraalPy
|
|
CI: PyPy
|
|
CI: PyPy EoL
|
|
dependencies
|