Skip to content

Commit

Permalink
Merge pull request #1431 from camptocamp/c2cciutils-upgrade
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Sep 27, 2024
2 parents 84608d8 + 3274f9f commit 82e4958
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
9 changes: 7 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,13 @@
automerge: true,
},
{
'matchPackageNames': ['shellcheck-py/shellcheck-py'],
'versioning': 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
matchPackageNames: ['shellcheck-py/shellcheck-py'],
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
},
/** For security reason don't takes the too early packages on stabilization branches */
{
matchBaseBranches: ['/^[0-9]+\\.[0-9]+$/'],
minimumReleaseAge: '7 days',
},
],
}
6 changes: 4 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 1 addition & 11 deletions ci/config.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 82e4958

Please sign in to comment.