aws-codebuild-run-build icon indicating copy to clipboard operation
aws-codebuild-run-build copied to clipboard

Support submodule cloning option

Open emakryo opened this issue 3 years ago • 2 comments

Currently, there is no way to set gitSumobuleConfigOverride in this action. https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-gitSubmodulesConfigOverride

This would be helpful when the repository is private.

emakryo avatar Sep 15 '22 14:09 emakryo

I've tried creating a fork repository with gitSumobuleConfigOverride set and tried fetching submodules, but submodules fetching private repositories didn't work due to permission error.

https://github.com/pshiko/aws-codebuild-run-build

Does codebuild not support submodule fetching of private repositories?

pshiko avatar Sep 19 '22 07:09 pshiko

Could you check if the access token you provided to CodeBuild has the required permission to download the submodule? https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html

taoyong-ty avatar Mar 07 '23 22:03 taoyong-ty