Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
This is done by the automated script named upgrade-c2cciutils-to-1.7
  • Loading branch information
sbrunner committed Sep 27, 2024
1 parent 84608d8 commit a5f369f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 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
2 changes: 1 addition & 1 deletion ci/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/1.4.16/c2cciutils/schema.json
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/c2cciutils/1.6.22/c2cciutils/schema.json

checks:
codespell: False
Expand Down

0 comments on commit a5f369f

Please sign in to comment.