-
Notifications
You must be signed in to change notification settings - Fork 2
feat: disable autoassign current user by default #25
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
Conversation
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.
Pull Request Overview
Changes the default behavior of automatically assigning the current GitLab user as a maintainer to newly created projects, switching from enabled by default to disabled by default.
- Default value of
autoassign_current_user_as_maintainervariable changed fromtruetofalse - Simplified membership assignment logic by removing unnecessary check for existing maintainer status
- Updated documentation to reflect the new default behavior
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| variables.tf | Changed default value of autoassign variable from true to false |
| main.tf | Simplified membership assignment logic and removed maintainer check |
| README.md | Updated documentation to reflect new default behavior |
| CHANGELOG.md | Added changelog entry for version 1.2.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
PR Type
Enhancement
Description
Changed default behavior for auto-assigning current user as maintainer
Removed complex logic checking existing maintainer status
Simplified project membership resource configuration
Updated documentation to reflect new default behavior
Changes walkthrough 📝
main.tf
Simplify user membership logicmain.tf
current_user_is_maintainer_of_projectlocal variable and itscomplex logic
gitlab_project_membershipresource count conditionvariables.tf
Update variable default valuevariables.tf
autoassign_current_user_as_maintainerfromtruetofalseCHANGELOG.md
Document version 1.2.0 changesCHANGELOG.md
README.md
Update user membership documentationREADME.md