Skip to content

Dependabot on python tools used by CI #826

Dependabot on python tools used by CI

Dependabot on python tools used by CI #826

Workflow file for this run

name: Dependabot on python tools used by CI
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
on:
pull_request:
branches: [main]
types: [opened, reopened, synchronize, unlocked]
paths:
- ".github/workflows/ci-tools.yml"
- "pyproject.toml"
schedule:
- cron: 41 7 * * *
workflow_dispatch:
jobs:
update:
if: ${{ ! endsWith(github.actor, '[bot]') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
cache: pip
cache-dependency-path: .github/requirements-ci.lock
check-latest: true
python-version: 3.11
- run: python -m pip config --user set install.use-pep517 true
- run: python -m pip install -r .github/requirements-venv.lock
- run: python -m hatch --verbose env create venv
- name: Freeze dependencies for venv tools from a fresh environment
run: |
source "$( python -m hatch env find venv )/bin/activate"
python -m pip freeze --all --exclude-editable > .github/requirements-venv.lock
- run: python -m hatch --verbose env create ci
- name: Freeze dependencies for ci tools from a fresh environment
run: |
source "$( python -m hatch env find ci )/bin/activate"
python -m pip freeze --all --exclude-editable > .github/requirements-ci.lock
- run: python -m hatch --verbose env create docs
- name: Freeze dependencies for docs tools from a fresh environment
run: |
source "$( python -m hatch env find docs )/bin/activate"
python -m pip freeze --all --exclude-editable > .github/requirements-docs.lock
- uses: peter-evans/[email protected]
with:
author: "GitHub <[email protected]>"
base: ${{ github.head_ref || github.ref_name }}
branch: dependabot/ci-tools/${{ github.head_ref || github.ref_name }}
committer: "GitHub <[email protected]>"
commit-message: "chore(ci): bump python ci tools"
labels: |
dependencies
merge:queue
python
title: "chore(ci): bump python ci tools"