aws-codebuild-run-build
                                
                                 aws-codebuild-run-build copied to clipboard
                                
                                    aws-codebuild-run-build copied to clipboard
                            
                            
                            
                        feat: Add support for sourceTypeOverride and sourceLocationOverride
This commit introduces two new optional parameters:
sourceTypeOverride: Allows overriding the source input type defined in the build project for the current build. Valid values include NO_SOURCE, CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, and GITHUB_ENTERPRISE. sourceLocationOverride: Enables specifying a location that overrides the source location defined in the build project for the current build.
These parameters provide flexibility in customizing the source settings for individual builds, without modifying the underlying build project configuration.
Issue #164
Description of changes:
- Added sourceTypeOverrideparameter to allow users to override the source input type defined in the build project.- Updated the action.ymlfile to include thesourceTypeOverrideparameter with a description and set it as optional.
- Modified the relevant code sections to handle the sourceTypeOverrideparameter and pass its value to the CodeBuild API when starting a build.
 
- Updated the 
- Introduced sourceLocationOverrideparameter to enable users to specify a custom source location for the current build.- Updated the action.ymlfile to include thesourceLocationOverrideparameter with a description and set it as optional.
- Modified the relevant code sections to handle the sourceLocationOverrideparameter and pass its value to the CodeBuild API when starting a build.
 
- Updated the 
- Updated the README.md file to document the new sourceTypeOverrideandsourceLocationOverrideparameters, providing examples and explaining their usage.
These changes enhance the flexibility and usability of the Action, allowing users to customize their build source settings on a per-build basis and enabling integration with various source providers, including GitHub Enterprise.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable:
- [ ] Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.
Please, review this PR.
I need this as well
Thanks for making this change! taking a look now