-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
95 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/0.13.3/tag_publish/schema.json | ||
|
||
pypi: | ||
packages: | ||
- {} | ||
dispatch: | ||
- {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,35 @@ | ||
{ | ||
extends: ['config:base'], | ||
timezone: 'Europe/Zurich', | ||
schedule: 'after 5pm on the first day of the month', | ||
labels: ['dependencies'], | ||
separateMajorMinor: true, | ||
separateMinorPatch: true, | ||
prHourlyLimit: 0, | ||
prConcurrentLimit: 0, | ||
lockFileMaintenance: { | ||
enabled: true, | ||
automerge: true, | ||
schedule: 'after 5pm on the first day of the month', | ||
}, | ||
'pre-commit': { enabled: true }, | ||
regexManagers: [ | ||
/** Do updates on pre-commit additional dependencies */ | ||
{ | ||
fileMatch: ['^\\.pre\\-commit\\-config\\.yaml$'], | ||
matchStrings: [" +- '?(?<depName>[^' @=]+)(@|==)(?<currentValue>[^' @=]+)'? # (?<datasource>.+)"], | ||
}, | ||
/** Do update on the schema present in the ci/config.yaml */ | ||
{ | ||
fileMatch: ['^ci/config\\.yaml$'], | ||
matchStrings: [ | ||
'.*https://raw\\.githubusercontent\\.com/(?<depName>[^\\s]+)/(?<currentValue>[0-9\\.]+)/.*', | ||
], | ||
datasourceTemplate: 'github-tags', | ||
}, | ||
/** Python version in actions/setup-python action */ | ||
{ | ||
fileMatch: ['^\\.github/workflows/.*\\.yaml$'], | ||
matchStrings: [' python-version: [\'"](?<currentValue>[0-9\\.]+)[\'"]'], | ||
datasourceTemplate: 'python-version', | ||
depNameTemplate: 'python', | ||
}, | ||
extends: [ | ||
'github>camptocamp/gs-renovate-config-preset:base.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:group.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:ci.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:preset.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:pre-commit.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:python.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:security.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:docker.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:own.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:json-schema.json5#0.8.3', | ||
'github>camptocamp/gs-renovate-config-preset:shellcheck.json5#0.8.3', | ||
], | ||
packageRules: [ | ||
/** Auto merge the dev dependency update */ | ||
{ | ||
matchDepTypes: ['devDependencies'], | ||
automerge: true, | ||
}, | ||
/** Group and auto merge the patch updates */ | ||
{ | ||
matchUpdateTypes: ['patch'], | ||
groupName: 'all patch versions', | ||
automerge: true, | ||
}, | ||
/** Group and auto merge the minor updates */ | ||
{ | ||
matchUpdateTypes: ['minor'], | ||
groupName: 'all minor versions', | ||
automerge: true, | ||
}, | ||
{ | ||
matchDatasources: ['docker'], | ||
versioning: 'regex:^(?<compatibility>.*)-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$', | ||
matchDepNames: ['ghcr.io/osgeo/gdal'], | ||
/** Ungroup Gdal */ | ||
groupName: 'gdal', | ||
}, | ||
/** Group Poetry packages */ | ||
{ | ||
matchPackagePrefixes: ['poetry-'], | ||
groupName: 'Poetry', | ||
automerge: true, | ||
matchDepNames: ['poetry', 'pip'], | ||
}, | ||
/** Support the 4 parts of shellcheck-py version with a v prefix */ | ||
{ | ||
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$', | ||
matchDepNames: ['shellcheck-py/shellcheck-py'], | ||
}, | ||
/** Disable update of Python version in pyproject.toml */ | ||
{ | ||
matchFiles: ['pyproject.toml'], | ||
enabled: false, | ||
matchDepNames: ['python'], | ||
}, | ||
/** Group and auto merge the CI dependencies */ | ||
{ | ||
matchFileNames: ['.github/**', '.pre-commit-config.yaml', 'ci/**'], | ||
groupName: 'CI dependencies', | ||
automerge: true, | ||
}, | ||
/** Ungroup pycairo */ | ||
{ | ||
matchDepNames: ['pycairo'], | ||
groupName: 'pycairo', | ||
}, | ||
/** Ungroup Python dependencies */ | ||
{ | ||
matchDepNames: ['python'], | ||
groupName: 'Python', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ on: | |
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
auto-merge: | ||
name: Auto reviews pull requests from bots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
c2cciutils[checks,publish]==1.7.3 | ||
c2cciutils==1.7.3 | ||
pre-commit==4.1.0 | ||
poetry-dynamic-versioning==1.7.1 | ||
poetry-plugin-export==1.9.0 | ||
poetry-plugin-tweak-dependencies-version==1.5.2 | ||
poetry-plugin-drop-python-upper-constraint==0.1.0 | ||
tag-publish==0.13.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
--- | ||
version: '2.1' | ||
|
||
services: | ||
redis: | ||
image: redis:7 | ||
|
Oops, something went wrong.