Skip to content

Dependencies

Dependencies #13

Workflow file for this run

name: Dependencies
on:
# Warning: this workflow must not be triggered by push or pull_request to avoid infinite loops!
workflow_dispatch:
schedule:
- cron: '47 8 19 * *'
permissions:
pull-requests: write
# Note: DEPENDENCY_WORKFLOW_KEY is used, such that CI will be triggered on push
concurrency:
group: ${{ github.workflow }}
env:
PYTHON_VERSIONS: [ '3.9', '3.10', '3.11', '3.12' ]

Check failure on line 17 in .github/workflows/dependencies.yaml

View workflow run for this annotation

GitHub Actions / Dependencies

Invalid workflow file

The workflow is not valid. .github/workflows/dependencies.yaml (Line: 17, Col: 20): A sequence was not expected
PYTHON_VERSION_DOCS: 3.12
jobs:
update-dependencies:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
ref: dev
ssh-key: ${{ secrets.DEPENDENCY_WORKFLOW_KEY }}
- uses: actions/setup-python@v5
with:
python-version: $PYTHON_VERSIONS
- name: Update dependencies
run: |
cd requirements
for VER in $PYTHON_VERSIONS
do
python-$VER -m pip install pip-tools==7.4.1
python-$VER -m piptools compile --upgrade --no-annotate -o examples-requirements-py$VER.txt --all-extras ../pyproject.toml examples.in
python-$VER -m piptools compile --upgrade --no-annotate -o tests-requirements-py$VER.txt examples-requirements-py$VER.txt tests.in
done
python-$PYTHON_VERSION_DOCS -m piptools compile --upgrade --no-annotate -o docs-requirements.txt examples-requirements-py3.12.txt docs.in
- name: Open PR
uses: peter-evans/create-pull-request@v7.0.5
with:
commit-message: Dependency updates
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: deps/dependency-updates
base: dev
delete-branch: true
title: Dependency updates
labels: |
dependencies
body: |
Dependency updates by pip-compile