diff --git a/.github/renovate.json5 b/.github/renovate.json5 index d0d8d9f26..94047f51d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -124,8 +124,13 @@ automerge: true, }, { - 'matchPackageNames': ['shellcheck-py/shellcheck-py'], - 'versioning': 'regex:^v(?\\d+)\\.(?\\d+)\\.(?\\d+)\\.(?\\d+)$', + matchPackageNames: ['shellcheck-py/shellcheck-py'], + versioning: 'regex:^v(?\\d+)\\.(?\\d+)\\.(?\\d+)\\.(?\\d+)$', + }, + /** For security reason don't takes the too early packages on stabilization branches */ + { + matchBaseBranches: ['/^[0-9]+\\.[0-9]+$/'], + minimumReleaseAge: '7 days', }, ], } diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 820a46c10..9e6bf231b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -55,8 +55,10 @@ jobs: # - run: cat env.secrets |grep '^[# A-Z0-9_]\+='|sed -e 's/^[# A-Z0-9_]\+=\(.*\)/::add-mask::\1/g' - run: touch env.secrets - - name: Checks - run: c2cciutils-checks + - name: Print environment information + run: c2cciutils-env + env: + GITHUB_EVENT: ${{ toJson(github) }} - name: Build run: ./build diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62bb17b8e..fb8bb8fcd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -138,3 +138,7 @@ repos: hooks: - id: jsonschema-validator files: ^ci/config\.yaml$ + - repo: https://github.com/renovatebot/pre-commit-hooks + rev: 37.428.1 + hooks: + - id: renovate-config-validator diff --git a/ci/config.yaml b/ci/config.yaml index 48abcfa33..7c6b377c8 100644 --- a/ci/config.yaml +++ b/ci/config.yaml @@ -1,14 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/1.4.16/c2cciutils/schema.json - -checks: - codespell: False - required_workflows: False - setup: False - dependabot: False - dependabot_config: False - black: - ignore_patterns_re: - - custom/custom/alembic/script\.py\.mako +# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/1.6.22/c2cciutils/schema.json version: branch_to_version_re: