Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/scripts/run-codebuild-batch-job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ START_RESULT=$(
aws codebuild start-build-batch \
--project-name ${PROJECT_NAME} \
--source-version $SOURCE_VERSION \
--environment-variables-override file:///tmp/gh_env_vars.json
--environment-variables-override file:///tmp/gh_env_vars.json \
--source-location-override https://github.com/awslabs/"$GITHUB_REPOSITORY_NO_ORG".git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: The quotes should generally be around an entire argument, not just a substring. Example:

 aws codebuild start-build-batch \
    --project-name "$PROJECT_NAME" \
    --source-version "$SOURCE_VERSION" \
    --environment-variables-override file:///tmp/gh_env_vars.json \
    --source-location-override "https://github.com/awslabs/$GITHUB_REPOSITORY_NO_ORG.git"

)

if [ "$?" != "0" ]; then
Expand Down
Loading