We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 398830f commit 27e1735Copy full SHA for 27e1735
.github/workflows/pull_request.yaml
@@ -19,8 +19,8 @@ jobs:
19
20
- name: Validate SAM Templates
21
run: |
22
- for template in $(find . -name "*.yaml" -o -name "*.yml" -not -path "./.github/*"); do
23
- echo "Validating template: $template"
24
- sam validate --template-file "$template" --region us-east-2 --lint
25
- done
+ find . -path "./.github" -prune -o \( -name "*.yaml" -o -name "*.yml" \) -print0 | while IFS= read -r -d '' template; do
+ echo "Validating template: $template"
+ sam validate --template-file "$template" --region us-east-2 --lint
+ done
26
shell: bash
0 commit comments