Skip to content
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

Add require_password_to_approve option for MRs #808

Merged
merged 2 commits into from Feb 25, 2022

Conversation

grv87
Copy link
Contributor

@grv87 grv87 commented Jan 27, 2022

Description

Adds require_password_to_approve argument to gitlab_project_level_mr_approvals resource.

Follow-up for xanzy/go-gitlab#1116

PR Checklist

  • Resource attributes match 1:1 the names and structure of the API resource in the GitLab API documentation.
  • Docs are updated with any new resources or attributes, including how to import the resource.
  • New resources should have at minimum a basic test with three steps: N/A
    • Create the resource
    • Update the attributes
    • Import the resource
  • No new //lintignore comments that came from copied code. Linter rules are meant to be enforced on new code.

@timofurrer timofurrer added enhancement upstream api alignment For issues and PRs which are aligning the provider implementation with the upstream GitLab API spec labels Jan 27, 2022
timofurrer
timofurrer previously approved these changes Jan 27, 2022
Copy link
Member

@timofurrer timofurrer left a comment

Choose a reason for hiding this comment

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

Thanks, lgtm if tests pass! 🎉

Copy link
Collaborator

@armsnyder armsnyder left a comment

Choose a reason for hiding this comment

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

Can you rebase and run make reviewable? We added Description fields to all schemas recently.

@armsnyder armsnyder added the needs-rebase For PRs which need a rebase label Feb 2, 2022
@github-actions github-actions bot added the merge-conflict PR cannot be merged due to a merge conflict label Feb 7, 2022
@github-actions
Copy link

github-actions bot commented Feb 7, 2022

This pull request has merge conflicts. Please rebase your branch onto main.

@timofurrer
Copy link
Member

@grv87 are you still willing to work on this? IHMO it's almost ready for a merge :) If not, we can follow up on it :)

@github-actions
Copy link

Conflicts are resolved. Thank you! 😀

@github-actions github-actions bot added documentation provider resource Adds or modifies a resource tests size/S and removed merge-conflict PR cannot be merged due to a merge conflict labels Feb 24, 2022
@timofurrer
Copy link
Member

I took the liberty and added the necessary changes to get this merged.

@timofurrer timofurrer added safe to test and removed needs-rebase For PRs which need a rebase labels Feb 24, 2022
@timofurrer timofurrer self-assigned this Feb 24, 2022
@timofurrer timofurrer added this to the v3.11.0 milestone Feb 24, 2022
@timofurrer timofurrer merged commit 912223b into gitlabhq:main Feb 25, 2022
@github-actions
Copy link

github-actions bot commented Mar 1, 2022

This functionality has been released in v3.11.0 of the Terraform GitLab Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue. Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation enhancement provider resource Adds or modifies a resource size/S tests upstream api alignment For issues and PRs which are aligning the provider implementation with the upstream GitLab API spec
3 participants