From 019e85a0d0c8315248732e7e04eeab26bb3308cc Mon Sep 17 00:00:00 2001 From: Dependency bot Date: Sat, 27 Apr 2024 18:47:42 +0000 Subject: [PATCH] chore: Configure Renovate (#284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `Dockerfile` (dockerfile) * `go.mod` (gomod) * `.woodpecker.yml` (woodpecker) ### Configuration Summary Based on the default config's presets, Renovate will: - Start dependency updates only once this onboarding PR is merged - Enable Renovate Dependency Dashboard creation. - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use. - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories. - Group known monorepo packages together. - Use curated list of recommended non-monorepo package groupings. - Apply crowd-sourced package replacement rules. - Apply crowd-sourced workarounds for known problems with packages. - Run lock file maintenance (updates) early Monday mornings. - Schedule automerge daily. - Schedule for weekends. - Enable Renovate Dependency Dashboard creation. - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use. - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories. - Group known monorepo packages together. - Use curated list of recommended non-monorepo package groupings. - Apply crowd-sourced package replacement rules. - Apply crowd-sourced workarounds for known problems with packages. - Run lock file maintenance (updates) early Monday mornings. - Enable the pre-commit manager. - Schedule automerge daily. - Schedule for weekends. - Run Renovate on following schedule: every weekend 🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to `renovate.json` in this branch. Renovate will update the Pull Request description the next time it runs. --- ### What to Expect With your current configuration, Renovate will create 3 Pull Requests:
fix(deps): update golang.org/x/exp digest to fe59bbe - Schedule: ["every weekend"] - Branch name: `renovate/golang.org-x-exp-digest` - Merge into: `main` - Upgrade golang.org/x/exp to `fe59bbe5cc7f158318a9631d96683d2df264a3c1`
chore(deps): update golang docker tag to v1.22 - Schedule: ["every weekend"] - Branch name: `renovate/golang-1.x` - Merge into: `main` - Upgrade golang to `1.22`
fix(deps): update golang deps non-major - Schedule: ["before 4am"] - Branch name: `renovate/golang-deps-non-major` - Merge into: `main` - Upgrade [github.com/go-acme/lego/v4](https://github.com/go-acme/lego) to `v4.16.1` - Upgrade [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) to `v1.8.1` - Upgrade [github.com/joho/godotenv](https://github.com/joho/godotenv) to `v1.5.1` - Upgrade [github.com/lib/pq](https://github.com/lib/pq) to `v1.10.9` - Upgrade [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) to `v1.14.22` - Upgrade [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) to `v2.2.1` - Upgrade [github.com/reugn/equalizer](https://github.com/reugn/equalizer) to `11d4adaf94377c6ab5d3fc2d434cd539de78cb73` - Upgrade [github.com/rs/zerolog](https://github.com/rs/zerolog) to `v1.32.0` - Upgrade [github.com/stretchr/testify](https://github.com/stretchr/testify) to `v1.9.0` - Upgrade [github.com/urfave/cli/v2](https://github.com/urfave/cli) to `v2.27.1` - Upgrade [go](https://github.com/golang/go) to `1.22.2` - Upgrade xorm.io/xorm to `v1.3.9`

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details. --- > > ⚠ **Warning** > > Please correct - or verify that you can safely ignore - these dependency lookup failures before you merge this PR. > > - `Could not determine new digest for update (go package code.gitea.io/sdk/gitea)` > > Files affected: `go.mod` --- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: woodpecker-bot Co-authored-by: pat-s Co-authored-by: Patrick Schratz Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/284 Co-authored-by: Dependency bot Co-committed-by: Dependency bot --- renovate.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9dd1cd7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":maintainLockFilesWeekly", + ":enablePreCommit", + "schedule:automergeDaily", + "schedule:weekends" + ], + "automergeType": "branch", + "automergeMajor": false, + "automerge": true, + "prConcurrentLimit": 5, + "labels": ["dependencies"], + "packageRules": [ + { + "matchManagers": ["gomod", "dockerfile"] + }, + { + "groupName": "golang deps non-major", + "matchManagers": ["gomod"], + "matchUpdateTypes": ["minor", "patch"], + "extends": ["schedule:daily"] + } + ], + "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"] +}