From e01cb7218878970b9e7b1275b216d22ebc371dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Fri, 27 Sep 2024 12:00:21 +0200 Subject: [PATCH] CI updates This is done by the automated script named upgrade-c2cciutils-to-1.7 --- .github/renovate.json5 | 5 +++++ .github/workflows/audit.yaml | 5 ----- .pre-commit-config.yaml | 15 ++++----------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 35caca9b..3b2cdbdb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -92,5 +92,10 @@ groupName: 'CI dependencies', automerge: true, }, + /** For security reason don't takes the too early packages on stabilization branches */ + { + matchBaseBranches: ['master'], + minimumReleaseAge: 7, + }, ], } diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 7503bdc2..e45f0b0a 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -38,8 +38,3 @@ jobs: uses: andstor/file-existence-action@v3 with: files: ci/dpkg-versions.yaml - - name: Update dpkg packages versions - run: ~/.venv/bin/c2cciutils-docker-versions-update --branch=${{ matrix.branch }} - env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - if: steps.dpkg-versions.outputs.files_exists == 'true' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86278000..e115c883 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,14 +1,3 @@ -ci: - autoupdate_schedule: quarterly - skip: - - copyright - - poetry-check - - poetry-lock - - ripsecrets - - schema-copy - - jsonschema-validator - - jsonschema-gentypes - - jsonschema2md repos: - repo: local hooks: @@ -154,3 +143,7 @@ repos: additional_dependencies: - prospector-profile-duplicated==1.5.0 # pypi - prospector_profile_utils==1.7.2 # pypi + - repo: https://github.com/renovatebot/pre-commit-hooks + rev: 37.428.1 + hooks: + - id: renovate-config-validator