-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/mx-1579 switch to renovatebot (#16)
# Added - add renovate config and github action # Changes - switch version specifiers to exact matches for renovatebot # Removed - delete dependabot config
- Loading branch information
Showing
5 changed files
with
72 additions
and
30 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
20 changes: 0 additions & 20 deletions
20
mex-{{ cookiecutter.project_name }}/.github/dependabot.yml
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
mex-{{ cookiecutter.project_name }}/.github/workflows/renovatebot.yml
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,28 @@ | ||
name: Renovate | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
- cron: "14 3 * * 1-5" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Run renovatebot | ||
uses: renovatebot/[email protected] | ||
env: | ||
RENOVATE_GIT_PRIVATE_KEY: {% raw %}${{ secrets.GPG_SIGNING_KEY }}{% endraw %} | ||
RENOVATE_REPOSITORIES: "robert-koch-institut/mex-{{ cookiecutter.project_name }}" | ||
with: | ||
configurationFile: renovate.json | ||
token: {% raw %}${{ secrets.WORKFLOW_TOKEN }}{% endraw %} |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"enabledManagers": [ | ||
"github-actions", | ||
"html", | ||
"npm", | ||
"pep621", | ||
"pip_requirements" | ||
], | ||
"gitAuthor": "RKIMetadataExchange <[email protected]>", | ||
"lockFileMaintenance": { | ||
"enabled": true, | ||
"schedule": [ | ||
"before 4am on monday" | ||
] | ||
}, | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": [ | ||
"digest", | ||
"lockFileMaintenance", | ||
"major", | ||
"minor", | ||
"patch", | ||
"pin" | ||
], | ||
"minimumReleaseAge": "7 days" | ||
} | ||
] | ||
} |