Skip to content

Commit

Permalink
ci: add Renovate comment to salt-minion
Browse files Browse the repository at this point in the history
* note that each major version release series is updated separately
  and new major versions will need to be added to the sls file manually
  • Loading branch information
dafyddj committed Jul 5, 2024
1 parent c91462e commit 15880ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"matchPackageNames": ["python/cpython"],
"separateMinorPatch": true,
},
{
// Salt major version releases must be added manually to the sls file
"matchDepPrefixes": ["salt-"],
"matchUpdateTypes": ["major"],
"enabled": false,
},
{
"matchFileNames": ["**/*.sls"],
"commitMessageAction": "add",
Expand Down
5 changes: 5 additions & 0 deletions salt-minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@

# Starting in Version 3006 salt standardized builds across all OSes on the
# Relative Environment for Python project (relenv). The url changed as a result
# Use Renovate to apply automatic version updates. Due to the way Renovate works
# each major version must be updated separately (otherwise all versions would be
# updated to the latest version). New major versions e.g. 3008.0 must be added manually.
{%- load_yaml as versions_relenv %}
# renovate: datasource=github-tags depName=salt-3007.x packageName=saltstack/salt
- 3007.1
- 3007.0
# renovate: datasource=github-tags depName=salt-3006.x packageName=saltstack/salt
- 3006.8
- 3006.7
- 3006.6
Expand Down

0 comments on commit 15880ac

Please sign in to comment.