Skip to content

Commit

Permalink
Add packer validate github check workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Jul 10, 2024
1 parent 32cd8eb commit 3f172f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/packer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: packer validate
name: Packer Validate

on:
pull_request:
Expand Down Expand Up @@ -26,6 +26,7 @@ jobs:
id: validate
run: |
cd packer/
for template in `find . -name "*.json"`; do
for template in `find . -name "*.json" | grep -v legacy`; do
echo $template
packer validate $template
done
1 change: 0 additions & 1 deletion packer/123

This file was deleted.

0 comments on commit 3f172f4

Please sign in to comment.