diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 0092975..2ffaba9 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -28,6 +28,13 @@ ], datasourceTemplate: 'github-tags', }, + /** Python version in actions/setup-python action */ + { + fileMatch: ['^\\.github/workflows/.*\\.yaml$'], + matchStrings: [' python-version: [\'"](?[0-9\\.]+)[\'"]'], + datasourceTemplate: 'python-version', + depNameTemplate: 'python', + }, ], packageRules: [ /** Docker images versioning */ @@ -111,5 +118,10 @@ matchBaseBranches: ['/^[0-9]+\\.[0-9]+\\.[0-9]+$/'], minimumReleaseAge: '7 days', }, + /** Ungroup Python dependencies */ + { + matchDepNames: ['python'], + groupName: 'Python', + }, ], } diff --git a/.github/workflows/clean.yaml b/.github/workflows/clean.yaml index eaf29bf..2c8252f 100644 --- a/.github/workflows/clean.yaml +++ b/.github/workflows/clean.yaml @@ -25,6 +25,9 @@ jobs: sudo rm /etc/apt/sources.list.d/*.list sudo apt update sudo apt install --yes python3-wheel + - uses: actions/setup-python@v5 + with: + python-version: '3.11' - run: sudo python3 -m pip install --requirement=ci/requirements.txt - name: Clean Docker hub tags run: c2cciutils-clean