[config] new env var: REQUIRE_APPROVAL_NEW_MEMBERS to set requiring…#858
[config] new env var: REQUIRE_APPROVAL_NEW_MEMBERS to set requiring…#858drew-u410 wants to merge 1 commit intosourcebot-dev:mainfrom
REQUIRE_APPROVAL_NEW_MEMBERS to set requiring…#858Conversation
… approval via config vs. UI toggle only
WalkthroughThis PR adds environment variable control for the member approval requirement setting. It introduces a new Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@CHANGELOG.md`:
- Around line 8-9: The changelog entry for "Added support to set 'Require
approval for new members' via config (`REQUIRE_APPROVAL_NEW_MEMBERS`)" is
missing a category header; move or insert this bullet under the existing "###
Added" subsection within the Unreleased section so it follows the project's
changelog conventions (use the exact header text "### Added" and keep the
current bullet content intact).
| ## [Unreleased] | ||
| - Added support to set "Require approval for new members" via config with (`REQUIRE_APPROVAL_NEW_MEMBERS`). [#858](https://github.com/sourcebot-dev/sourcebot/pull/858) |
There was a problem hiding this comment.
Missing category header for changelog entry.
The changelog entry should be placed under an ### Added header to follow the existing conventions. All other entries in the file are categorized under headers like ### Added, ### Fixed, ### Changed, etc.
📝 Suggested fix
## [Unreleased]
+
+### Added
- Added support to set "Require approval for new members" via config with (`REQUIRE_APPROVAL_NEW_MEMBERS`). [`#858`](https://github.com/sourcebot-dev/sourcebot/pull/858)As per coding guidelines, entries must be parented under a header (Added, Changed, Deprecated, Removed, Fixed, or Security).
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| ## [Unreleased] | |
| - Added support to set "Require approval for new members" via config with (`REQUIRE_APPROVAL_NEW_MEMBERS`). [#858](https://github.com/sourcebot-dev/sourcebot/pull/858) | |
| ## [Unreleased] | |
| ### Added | |
| - Added support to set "Require approval for new members" via config with (`REQUIRE_APPROVAL_NEW_MEMBERS`). [`#858`](https://github.com/sourcebot-dev/sourcebot/pull/858) |
🤖 Prompt for AI Agents
In `@CHANGELOG.md` around lines 8 - 9, The changelog entry for "Added support to
set 'Require approval for new members' via config
(`REQUIRE_APPROVAL_NEW_MEMBERS`)" is missing a category header; move or insert
this bullet under the existing "### Added" subsection within the Unreleased
section so it follows the project's changelog conventions (use the exact header
text "### Added" and keep the current bullet content intact).
There was a problem hiding this comment.
Happy to move but this is unreleased. Silly AI?
There was a problem hiding this comment.
@drew-u410, I understand the confusion! Let me clarify: "Unreleased" is the version section (like "4.10.27" or "4.10.26"), not a category. Even within the Unreleased section, entries still need to be organized under category headers like ### Added, ### Fixed, ### Changed, etc.
This follows the Keep a Changelog format that the project uses. Looking at the file, you can see that every other version section has category headers organizing the changes.
So the structure should be:
## [Unreleased]
### Added
- Added support to set "Require approval for new members" via config...Not a silly suggestion at all—just following the established conventions! 😊
🧠 Learnings used
Learnt from: CR
Repo: sourcebot-dev/sourcebot PR: 0
File: .cursor/rules/cloud_agent.mdc:0-0
Timestamp: 2025-12-29T18:02:55.419Z
Learning: Applies to CHANGELOG.md : After creating a GitHub PR, create a follow-up commit with a Changelog entry in CHANGELOG.md with a short description of the change. Follow the existing conventions: entries must be parented under a header (Added, Changed, Deprecated, Removed, Fixed, or Security), and entries must include the GitHub pull request id at the end of the line, formatted as [#<id>](<url>)
REQUIRE_APPROVAL_NEW_MEMBERSso that this can be set via config vs. UI toggle on each upgrade/deployment.Summary by CodeRabbit
New Features
Documentation