[pre-commit.ci] pre-commit autoupdate #701
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: autofix.ci | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} | |
cancel-in-progress: true | |
on: # yamllint disable-line rule:truthy | |
# We only do this on PRs to avoid the (admittedly unlikely) scenario that | |
# we run, green, wait, merge, then the build on `main` could fail because conda | |
# has updated during the "green" and then the "build on `main`" steps | |
pull_request: | |
branches: "*" | |
jobs: | |
deps: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- run: pip install packaging requests pyyaml | |
- run: python tests/test_outdated.py # can update the file in place | |
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a | |
if: failure() |