This is an automated email from the ASF dual-hosted git repository. zky pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-devlake-terraform.git
commit 1b0ceea97c4476414e4b06068c21d5b5c3582fc1 Merge: d99bd38 8f4a143 Author: Louis.z <[email protected]> AuthorDate: Fri May 30 02:40:00 2025 +0800 Merge pull request #21 from tim-goto/main feat: add github connection, scopeconfig and scope .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 8 +- docker_compose/docker-compose.yml | 18 +- docs/resources/github_connection.md | 39 ++ docs/resources/github_connection_scope.md | 32 ++ docs/resources/github_connection_scopeconfig.md | 53 ++ examples/resources/github_connection/import.sh | 6 + examples/resources/github_connection/resource.tf | 21 + .../resources/github_connection_scope/import.sh | 6 + .../resources/github_connection_scope/resource.tf | 34 ++ .../github_connection_scopeconfig/import.sh | 6 + .../github_connection_scopeconfig/resource.tf | 26 + go.mod | 30 +- go.sum | 88 ++-- internal/client/bitbucketserver.go | 205 +------- internal/client/generic.go | 99 ++++ internal/client/github.go | 142 ++++++ internal/client/models.go | 57 +++ .../bitbucketserver_connection_scope_resource.go | 2 +- ...bucketserver_connection_scopeconfig_resource.go | 3 +- internal/provider/github_connection_resource.go | 378 ++++++++++++++ .../provider/github_connection_resource_test.go | 96 ++++ .../provider/github_connection_scope_resource.go | 346 +++++++++++++ .../github_connection_scope_resource_test.go | 91 ++++ .../github_connection_scopeconfig_resource.go | 542 +++++++++++++++++++++ .../github_connection_scopeconfig_resource_test.go | 121 +++++ internal/provider/provider.go | 3 + 27 files changed, 2197 insertions(+), 257 deletions(-)
