Commit Graph
13 Commits
Author SHA1 Message Date
justusbunsi 41dfa3ebaa Allow postUpgradeTasks for gitea/helm-chart repo (#270)
https://gitea.com/gitea/helm-chart/pulls/734 showed that we have to update the project `README.md` while renovating `values.yaml`.

This configures Renovate to allow running specific commands during branch creation/updates while processing repositories[^1].
Since gitea/helm-chart depends on node.js and npm to update the README, we need to allow installing that tool AND allow the `make` command for actually updating the README.

In preparation of this being merged, https://gitea.com/gitea/helm-chart/pulls/738 configured the usage of these commands.

[^1]: https://docs.renovatebot.com/self-hosted-configuration/#allowedpostupgradecommands for Renovate hosting configuration and https://docs.renovatebot.com/configuration-options/#postupgradetasks for repository configuration.

Signed-off-by: justusbunsi <[email protected]>

Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/270
Reviewed-by: techknowlogick <[email protected]>
Co-authored-by: justusbunsi <[email protected]>
Co-committed-by: justusbunsi <[email protected]>
2024-11-30 22:44:02 +00:00
justusbunsi 1d063082f2 Provide reusable presets for the most common dependency types in Gitea projects (#97)
Renovate by default doesn't group dependencies. This is to achieve fine-grained changes. However, it can also be the root cause for maintainers getting flooded with notifications.
With regards to Renovate [noise reduction](https://docs.renovatebot.com/noise-reduction/) and related to #93, one of the most powerful ways is grouping related dependencies into a single Pull Request.

This introduces the following reusable presets:

- Golang dependencies
- NPM dependencies
- Workflow/Actions dependencies
- Security fixes (depends on an experimental feature: https://github.com/renovatebot/renovate/discussions/20542)

Combining those presets with proper Pull Request scheduling, they can help finding a good workflow to keep up-to-date.

---

A heads-up about possible downsides of dependency grouping. If a group contains an update that is not possible, one has to either:
- manually adjust the Pull Request to not include that package update
- manually adjust the repository `renovate.json5` to ignore a specific package version

Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/97
Reviewed-by: Jason Song <[email protected]>
Co-authored-by: justusbunsi <[email protected]>
Co-committed-by: justusbunsi <[email protected]>
2023-12-26 03:11:38 +00:00
justusbunsi 1448c584db Ensure Renovate updates itself regularly (#6)
The `github-actions` manager should also work for Gitea Actions. It is
the same syntax.

As per Discord conversation, unpin the Docker digest for Renovate.

Signed-off-by: justusbunsi <[email protected]>

Reviewed-on: https://gitea.com/gitea/renovate-config/pulls/6
Co-authored-by: justusbunsi <[email protected]>
Co-committed-by: justusbunsi <[email protected]>
2023-09-09 14:10:56 +00:00
justusbunsi c1cf840a56 Fix github authentication
Signed-off-by: justusbunsi <[email protected]>
2023-09-05 08:48:08 +02:00
justusbunsi b8b903eeea Update default.json
Signed-off-by: justusbunsi <[email protected]>
2023-09-05 08:44:39 +02:00
justusbunsi 2613edd497 Reduce Renovate run frequency to daily
Signed-off-by: justusbunsi <[email protected]>
2023-09-05 08:37:13 +02:00
justusbunsi 8092643fa7 Apply repository secrets
Signed-off-by: justusbunsi <[email protected]>
2023-09-05 08:32:00 +02:00
justusbunsi 2ccbca00ed Fine-tune Renovate execution
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 19:40:50 +02:00
justusbunsi d9f70b29a5 Document config.js
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 19:33:57 +02:00
justusbunsi b524331a83 Use checkout token for Renovate?
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 19:07:55 +02:00
justusbunsi ef868bf406 Configure Renovate runner
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 19:02:29 +02:00
justusbunsi 24d96f569e Ensure correct environment
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 18:54:00 +02:00
justusbunsi f36121a635 Try renovate via container option
Signed-off-by: justusbunsi <[email protected]>
2023-09-04 18:36:58 +02:00