mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-01-16 23:12:07 +00:00
Some checks are pending
/ release (push) Waiting to run
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
testing-integration / test-unit (push) Waiting to run
testing-integration / test-sqlite (push) Waiting to run
testing-integration / test-mariadb (v10.6) (push) Waiting to run
testing-integration / test-mariadb (v11.8) (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
## Checklist The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org). ### Tests - I added test coverage for Go changes... - [ ] in their respective `*_test.go` for unit tests. - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server. - I added test coverage for JavaScript changes... - [ ] in `web_src/js/*.test.js` if it can be unit tested. - [ ] in `tests/e2e/*.test.e2e.js` if it requires interactions with a live Forgejo server (see also the [developer guide for JavaScript testing](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/tests/e2e/README.md#end-to-end-tests)). ### Documentation - [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change. - [x] I did not document these changes and I do not expect someone else to do it. ### Release notes - [x] I do not want this change to show in the release notes. - [ ] I want the title to show in the release notes with a link to this pull request. - [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10752 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net> Co-committed-by: Mathieu Fenniak <mathieu@fenniak.net>
155 lines
5 KiB
JSON
155 lines
5 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["local>forgejo/renovate-config"],
|
|
"ignorePresets": [
|
|
":semanticPrefixFixDepsChoreOthers",
|
|
"docker:pinDigests",
|
|
"helpers:pinGitHubActionDigests"
|
|
],
|
|
"baseBranchPatterns": [
|
|
"$default",
|
|
"/^v11\\.\\d+/forgejo$/",
|
|
"/^v14\\.\\d+/forgejo$/"
|
|
],
|
|
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"],
|
|
"prConcurrentLimit": 10,
|
|
"osvVulnerabilityAlerts": true,
|
|
"automergeStrategy": "squash",
|
|
"labels": ["dependency-upgrade", "test/not-needed"],
|
|
"packageRules": [
|
|
{
|
|
"description": "Require approval for python minor version",
|
|
"matchPackageNames": ["containerbase/python-prebuild", "python"],
|
|
"matchUpdateTypes": ["minor"],
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
{
|
|
"description": "Require dashboard approval for some deps",
|
|
"matchPackageNames": [
|
|
"docker.io/bitnami/minio",
|
|
"github.com/go-ap/activitypub"
|
|
],
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
{
|
|
"description": "Schedule some deps less frequently",
|
|
"matchPackageNames": [
|
|
"code.forgejo.org/f3/gof3/**",
|
|
"github.com/google/pprof"
|
|
],
|
|
"extends": ["schedule:quarterly"]
|
|
},
|
|
{
|
|
"description": "elasticsearch CI images are published about once a month and do not use semantic versioning or short tags",
|
|
"matchPackageNames": ["elasticsearch"],
|
|
"extends": ["schedule:quarterly"]
|
|
},
|
|
{
|
|
"description": "devcontainer is an optional tool used by some Forgejo contributors when working on the codebase",
|
|
"groupName": "devcontainer packages",
|
|
"extends": ["schedule:quarterly"],
|
|
"automerge": true,
|
|
"matchPackageNames": [
|
|
"ghcr.io/devcontainers/features/**",
|
|
"ghcr.io/devcontainers-contrib/features/**"
|
|
]
|
|
},
|
|
{
|
|
"description": "x/tools/* are used in the CI only and upgraded together",
|
|
"matchUpdateTypes": ["minor", "patch", "digest"],
|
|
"automerge": true,
|
|
"groupName": "x/tools",
|
|
"matchPackageNames": ["golang.org/x/tools{/,}**"]
|
|
},
|
|
{
|
|
"description": "Group postcss minor and patch updates",
|
|
"extends": ["packages:postcss"],
|
|
"matchUpdateTypes": ["minor", "patch"],
|
|
"groupName": "postcss"
|
|
},
|
|
{
|
|
"description": "Group Forgejo go-chi packages",
|
|
"matchUpdateTypes": ["minor", "patch", "digest"],
|
|
"matchPackageNames": ["code.forgejo.org/go-chi/**"],
|
|
"groupName": "forgejo go-chi packages"
|
|
},
|
|
{
|
|
"description": "Split minor and patch updates",
|
|
"matchPackageNames": [
|
|
"containerbase/python-prebuild",
|
|
"github.com/urfave/cli/**",
|
|
"python",
|
|
"swagger-ui-dist",
|
|
"vue"
|
|
],
|
|
"separateMinorPatch": true
|
|
},
|
|
{
|
|
"description": "Automerge patch updates",
|
|
"matchPackageNames": [
|
|
"vue",
|
|
"github.com/urfave/cli/**",
|
|
"swagger-ui-dist"
|
|
],
|
|
"matchUpdateTypes": ["patch"],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Add reviewer and additional labels to renovate PRs",
|
|
"matchDatasources": ["docker"],
|
|
"matchPackageNames": ["data.forgejo.org/renovate/renovate"],
|
|
"reviewers": ["viceice"],
|
|
"addLabels": ["forgejo/ci"]
|
|
},
|
|
{
|
|
"description": "Disable renovate self-updates for release branches",
|
|
"matchBaseBranches": ["/^v\\d+\\.\\d+\\/forgejo$/"],
|
|
"matchPackageNames": [
|
|
"code.forgejo.org/forgejo-contrib/renovate",
|
|
"data.forgejo.org/renovate/renovate",
|
|
"ghcr.io/visualon/renovate"
|
|
],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Automerge some packages when CI succeeds",
|
|
"extends": ["packages:linters", "packages:test", "schedule:monthly"],
|
|
"matchPackageNames": [
|
|
"@axe-core/playwright",
|
|
"@eslint-community/**",
|
|
"@playwright/**",
|
|
"@stoplight/spectral-cli",
|
|
"@stylistic/**",
|
|
"@vitejs/plugin-vue",
|
|
"@vue/test-utils",
|
|
"djlint",
|
|
"github.com/editorconfig-checker/editorconfig-checker/**",
|
|
"github.com/golangci/golangci-lint/**",
|
|
"github.com/go-testfixtures/testfixtures",
|
|
"github.com/PuerkitoBio/goquery",
|
|
"happy-dom",
|
|
"markdownlint-cli",
|
|
"mcr.microsoft.com/devcontainers/**",
|
|
"mvdan.cc/gofumpt",
|
|
"updates",
|
|
"vite-string-plugin",
|
|
"yamllint"
|
|
],
|
|
"automerge": true
|
|
},
|
|
{
|
|
"description": "Disable indirect updates for stable branches",
|
|
"matchBaseBranches": ["/^v\\d+\\.\\d+\\/forgejo$/"],
|
|
"matchManagers": ["gomod"],
|
|
"matchUpdateTypes": ["major", "minor", "patch", "digest"],
|
|
"matchDepTypes": ["indirect"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Require approval for stable branches (must be last rule to override all others)",
|
|
"matchBaseBranches": ["/^v\\d+\\.\\d+\\/forgejo$/"],
|
|
"dependencyDashboardApproval": true,
|
|
"schedule": ["at any time"]
|
|
}
|
|
]
|
|
}
|