Skip to content

Commit

Permalink
add hint how to validate the template before a pull request is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Aug 4, 2017
1 parent 16f80f9 commit c547e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please run `yamllint folder/template.yaml` and `aws cloudformation validate-template --template-body file://folder/template.yaml` before
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ install:
- 'pip install yamllint'
- 'pip install awscli'
script:
- 'yamllint .'
- 'find . -type f -name ''*.y?ml'' -exec aws cloudformation validate-template --template-body file://{} \;'
- 'yamllint . && find . -type f -name ''*.y?ml'' -exec aws cloudformation validate-template --template-body file://{} \;'

0 comments on commit c547e01

Please sign in to comment.