[BUG] Fix resource_github_repository_environment_deployment_policy import#3077
[BUG] Fix resource_github_repository_environment_deployment_policy import#3077deiga wants to merge 5 commits intointegrations:mainfrom
resource_github_repository_environment_deployment_policy import#3077Conversation
|
👋 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 |
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]>
6289f77 to
e55dc6b
Compare
|
@deiga it looks like I've also fixed this independently in #3079. Although I don't think your current implementation will actually work as URL path escaping doesn't replace |
@stevehipwell One thing you are missing, is the actual fix for the import behaviour. You added a test, but it ignores the problems in the import 😬 |
@deiga yeah thanks for spotting that. It wasn't pushed up as I had issues with the testing and stashed a load of code while I attempted to fix it. I've pushed it all up now, and for good measure I've updated the resources to the context pattern. |
Resolves #3076
Resolves #2012
Before the change?
resource_github_repository_environment_deployment_policywould fail due to missing setters of fieldsAfter the change?
resource_github_repository_environment_deployment_policysets all correct fieldsPull request checklist
Schema migrations have been created if needed (example)Docs have been reviewed and added / updated if needed (for bug fixes / features)Does this introduce a breaking change?
Please see our docs on breaking changes to help!