Skip to content

Instantly share code, notes, and snippets.

@mattgillard
Created December 18, 2023 06:12
Show Gist options
  • Save mattgillard/b4f96d60cf3fffbf0b60df4623302d32 to your computer and use it in GitHub Desktop.
Save mattgillard/b4f96d60cf3fffbf0b60df4623302d32 to your computer and use it in GitHub Desktop.
Sample cloudformation lint config for GitHub workflow
name: Pull Request workflow
on:
- pull_request
jobs:
cloudformation-linter:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Linter install
uses: scottbrenner/cfn-lint-action@v2
with:
command: cfn-lint -t ./*.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment