You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto-create-repositories: enabled # If true and using CodeCommit as source, the repository will be automatically created
default-scm-branch: master # The default branch is used when the pipeline does not specify a specific branch. If this parameter is not specified, it defaults to the "master" branch.
auto-create-repositories should be a property of scm: hence needs to be indented.
To start I'm proposing to implement yamllint with the following .yamllint config file:
Some examples have inconsistent indentation. For example:
https://github.com/awslabs/aws-deployment-framework/blob/master/samples/sample-ecs-cluster/template.yml#L8-L13
Others like the below have incorrect syntax:
aws-deployment-framework/src/lambda_codebase/initial_commit/bootstrap_repository/example-adfconfig.yml
Lines 18 to 20 in cdfa538
auto-create-repositories
should be a property ofscm:
hence needs to be indented.To start I'm proposing to implement yamllint with the following
.yamllint
config file:This should catch the above syntax error and improve overall code consistency.
The text was updated successfully, but these errors were encountered: