Repository navigation
[BUG] Enable setting review notifications without delegation - #3220
stevehipwell merged 15 commits into
Conversation
|
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
407f0ed to
7f8814d
Compare
|
@deiga could you please rebase this? |
21beff2
7f8814d to
21beff2
Compare
|
@stevehipwell @robert-crandall Rebased, please review. |
stevehipwell
left a comment
There was a problem hiding this comment.
Just a couple of things to look at.
4384422 to
28b45a8
Compare
dd9dcee to
48fd779
Compare
|
@stevehipwell Thanks. Simplified the bool checking a bit now |
1bf9667 to
680cacf
Compare
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
…elegation` Mark nested `notify` as deprecated Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
…ogic with `getTeam` Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
Signed-off-by: Timo Sand <[email protected]>
680cacf to
2668ba7
Compare
|
@robert-crandall please could you approve this. |
…tions#3220) * Update docs Signed-off-by: Timo Sand <[email protected]> * Update tests and add missing coverage Signed-off-by: Timo Sand <[email protected]> * Add more tests to cover `Import` and a few more `Update` cases Signed-off-by: Timo Sand <[email protected]> * Refactor `Import` to be Context-aware Signed-off-by: Timo Sand <[email protected]> * Refactor to use Context-aware functions Signed-off-by: Timo Sand <[email protected]> * Use `resource.ParallelTest` to make testing quicker Signed-off-by: Timo Sand <[email protected]> * Remove unused call to `Read` Signed-off-by: Timo Sand <[email protected]> * Uncouple `Create` and `Update` Signed-off-by: Timo Sand <[email protected]> * Fix resource to be able to set empty `review_request_delegation` block Signed-off-by: Timo Sand <[email protected]> * Add top-level `notify` to enable setting it without `review_request_delegation` Mark nested `notify` as deprecated Signed-off-by: Timo Sand <[email protected]> * Update docs Signed-off-by: Timo Sand <[email protected]> * Consolidate `getTeamSlugContext` and `resolveTeamIDs` to use shared logic with `getTeam` Signed-off-by: Timo Sand <[email protected]> * Remove named returns * Fix missing reference Signed-off-by: Timo Sand <[email protected]> * Simplify `resolveNotify` Signed-off-by: Timo Sand <[email protected]> --------- Signed-off-by: Timo Sand <[email protected]>
…tions#3220) * Update docs Signed-off-by: Timo Sand <[email protected]> * Update tests and add missing coverage Signed-off-by: Timo Sand <[email protected]> * Add more tests to cover `Import` and a few more `Update` cases Signed-off-by: Timo Sand <[email protected]> * Refactor `Import` to be Context-aware Signed-off-by: Timo Sand <[email protected]> * Refactor to use Context-aware functions Signed-off-by: Timo Sand <[email protected]> * Use `resource.ParallelTest` to make testing quicker Signed-off-by: Timo Sand <[email protected]> * Remove unused call to `Read` Signed-off-by: Timo Sand <[email protected]> * Uncouple `Create` and `Update` Signed-off-by: Timo Sand <[email protected]> * Fix resource to be able to set empty `review_request_delegation` block Signed-off-by: Timo Sand <[email protected]> * Add top-level `notify` to enable setting it without `review_request_delegation` Mark nested `notify` as deprecated Signed-off-by: Timo Sand <[email protected]> * Update docs Signed-off-by: Timo Sand <[email protected]> * Consolidate `getTeamSlugContext` and `resolveTeamIDs` to use shared logic with `getTeam` Signed-off-by: Timo Sand <[email protected]> * Remove named returns * Fix missing reference Signed-off-by: Timo Sand <[email protected]> * Simplify `resolveNotify` Signed-off-by: Timo Sand <[email protected]> --------- Signed-off-by: Timo Sand <[email protected]>
Resolves #2273
Before the change?
github_team_settingswe're missing computed attributesCheck:structurereview_request_delegationblocknotifywithout enabling delegationAfter the change?
github_team_settingsare completeterraform-plugin-testingreview_request_delegationblocknotifywithout enabling delegationPull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!