Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@RahulGautamSingh
Copy link
Collaborator

@RahulGautamSingh RahulGautamSingh commented Dec 20, 2025

Changes

  • Support using onboardingAutoCloseAge in inherited config.

Context

Please select one of the following:

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

  1. inherit: Configure Renovate Rahul-renovate-testing/test-inherit#5
  2. normal: Configure Renovate Rahul-renovate-testing/test-onb-aca#1

logger.debug('Repo is not onboarded and no merged PRs exist');
if (!config.suppressNotifications!.includes('onboardingClose')) {
const ageOfOnboardingPr = getElapsedDays(closedOnboardingPr.createdAt!);
const onboardingAutoCloseAge = GlobalConfig.get('onboardingAutoCloseAge');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not still store as variable to have less changes?

type: 'integer',
default: null,
globalOnly: true,
inheritConfigSupport: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

global only and inherited are somewhat mutually exclusive 🤔

@jamietanna I don't like to mix-up them more than necessary

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think that's fair - in that case, we'd want only inheritConfigSupport?

This comment was marked as resolved.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inherited config can contain all repo config options and only some global options, so it makes sense to use both globalOnly and inheritConfigSupport together.

Copy link
Contributor

@jamietanna jamietanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do wonder if we should make it so the inheritConfig version of the setting should be <= what the global settings are

I.e. so the admin can set onboardingAutoCloseAge=366, and then orgs can do onboardingAutoCloseAge=7 but not onboardingAutoCloseAge=1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support onboardingAutoCloseAge in inherited config

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.