diff --git a/.github/dependabot.yml b/.github/dependabot.yml.inactive similarity index 100% rename from .github/dependabot.yml rename to .github/dependabot.yml.inactive diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..8dca6da --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "commitMessageLowerCase": "never", + "labels": [ + "dependencies" + ], + "prConcurrentLimit": 0, + "prHourlyLimit": 0, + "schedule": [ + "* 0-7 * * 1" + ], + "github-actions": { + "addLabels": [ + "skip changelog" + ], + "packageRules": [ + { + "groupName": "GitHub Actions", + "matchPackageNames": [ + "actions/**", + "github/**" + ] + }, + { + "enabled": false, + "matchUpdateTypes": [ + "digest" + ] + }, + { + "automerge": true, + "matchUpdateTypes": [ + "minor", + "patch" + ], + "matchCurrentVersion": "!/^0/" + } + ] + } +} diff --git a/.github/workflows/scripts/rename_project.sh b/.github/workflows/scripts/rename_project.sh index f393e62..05f4068 100755 --- a/.github/workflows/scripts/rename_project.sh +++ b/.github/workflows/scripts/rename_project.sh @@ -37,6 +37,9 @@ fi # Remove the template instructions from the README and the template's CHANGELOG sed -i '1,/^---$/ { /^$/d; d }' README.md sed -i '1,/^---$/ { /^$/d; d }' CHANGELOG.md +# Remove Renovatebot and activate Dependabot +rm -f .github/renovate.json +mv .github/dependabot.yml.inactive .github/dependabot.yml # Remove this script and the GitHub Action workflow using this script rm -f .github/workflows/rename_template.yml rm -rf .github/workflows/scripts