a78478edc4
* chore(deps): bump the actions group with 4 updates Bumps the actions group with 4 updates: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package), [j178/prek-action](https://github.com/j178/prek-action), [actions/create-github-app-token](https://github.com/actions/create-github-app-token) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action). Updates `hynek/build-and-inspect-python-package` from 2.17.0 to 2.18.0 - [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases) - [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md) - [Commits](https://github.com/hynek/build-and-inspect-python-package/compare/fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e...d44ca7d91762de7a7d5436ddae667c6da6d1c3df) Updates `j178/prek-action` from 2.0.3 to 2.0.4 - [Release notes](https://github.com/j178/prek-action/releases) - [Commits](https://github.com/j178/prek-action/compare/6ad80277337ad479fe43bd70701c3f7f8aa74db3...bdca6f102f98e2b4c7029491a53dfd366469e33d) Updates `actions/create-github-app-token` from 3.1.1 to 3.2.0 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/create-github-app-token/compare/1b10c78c7865c340bc4f6099eb2f838309f1e8c3...bcd2ba49218906704ab6c1aa796996da409d3eb1) Updates `zizmorcore/zizmor-action` from 0.5.3 to 0.5.6 - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](https://github.com/zizmorcore/zizmor-action/compare/b1d7e1fb5de872772f31590499237e7cce841e8e...5f14fd08f7cf1cb1609c1e344975f152c7ee938d) --- updated-dependencies: - dependency-name: hynek/build-and-inspect-python-package dependency-version: 2.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: j178/prek-action dependency-version: 2.0.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: actions/create-github-app-token dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: zizmorcore/zizmor-action dependency-version: 0.5.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * fix create-github-app-token parameters --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mayeut <mayeut@users.noreply.github.com>
73 lines
2.5 KiB
YAML
73 lines
2.5 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
|
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
|
|
dependencies
|