-
Notifications
You must be signed in to change notification settings - Fork 0
fix(renovate): process our forked repositories #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift
🔎 Supported by static analysis
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 197
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 7774
🌐 Web query:
Renovate 44.46.7 forkProcessing autodiscover require-config shared preset root renovate.json platform API implementation💡 Result:
In the context of the Renovate project, the specified terms refer to key configuration and implementation mechanics used to control repository discovery, access, and platform interaction [1][2]. 1. forkProcessing: This configuration option manages whether Renovate interacts with forked repositories [1][3]. By default, Renovate skips forks when running in autodiscover mode [1]. You can set this to enabled, disabled, or auto to override this default behavior [1]. This option replaced the legacy includeForks setting [3]. 2. autodiscover: A global configuration option that, when enabled, allows Renovate to automatically discover and run on every repository the bot account can access [4][5]. It is typically used in self-hosted deployments to avoid manually configuring a fixed list of repositories [5]. 3. requireConfig: This global configuration option dictates how Renovate handles repositories that lack a configuration file (such as renovate.json) [1][4]. The default value is required, meaning Renovate will skip repositories that do not contain a valid configuration file, though this can be changed to optional or ignored [1]. 4. Platform API Implementation: Renovate utilizes a Platform Abstraction Layer to maintain a unified interface across various Source Code Management (SCM) platforms like GitHub, GitLab, and Bitbucket [2]. Each platform has a dedicated implementation (e.g., in lib/modules/platform/github/ or lib/modules/platform/gitlab/) that satisfies the required Platform interface contract [2][6][7]. This contract includes methods for platform initialization (initPlatform), repository discovery (getRepos), file access, and PR/issue management, ensuring the core Renovate logic remains platform-agnostic [2][8]. 5. Shared Presets (root): Renovate allows you to define shared configuration presets, often hosted in a separate repository [9]. By referencing these in a local renovate.json (e.g., using extends: [local>user/repo]), you can standardize configuration across multiple projects [9]. The root of your repository is the standard location for the primary renovate.json file where these presets and other configurations are applied [10][9].
Citations:
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 14875
🌐 Web query:
site:github.com/renovatebot/renovate/tree/44.46.7 "forkProcessing" "getRepos"💡 Result:
No exact search result was found for:
site:github.com/renovatebot/renovate/tree/44.46.7 "forkProcessing" "getRepos"Related Renovate results show
forkProcessingas a repository option controlling whether forked repositories are processed, but no matchinggetReposoccurrence was indexed. (github.com)Citations:
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 133
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 17384
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 5354
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 10568
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 7853
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 203
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 1465
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 5461
🏁 Script executed:
Repository: EduIDE/.github
Length of output: 4421
Add
"forkProcessing": "enabled"to each fork’s rootrenovate.json.In Renovate
44.46.7,initApis()callsvalidateIncludeForks()beforegetRepoConfig()resolvesextends. The fork check reads only the default root config file, so this shared preset cannot enable autodiscovered forks. Configure the setting in each fork’s root file or in the Mend app.🤖 Prompt for AI Agents
Source: MCP tools