Add CF lint, check if docs build on pr (#660)

* Add CF lint, check if docs build and do a spellcheck

* set the right repository for spellchecking

* check only markdown files

* remove pipeline filters

* Remove spellcheck
This commit is contained in:
BennyDB 2022-05-10 14:27:06 +02:00 committed by GitHub
parent ff3d36c469
commit 0d568229bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/workflows/check.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Build docs and check cloudformation
on:
pull_request:
branches:
- main
jobs:
build:
name: build docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3.0.0
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Build documentation
run: |
mkdocs build
- name: Setup cloudformation linter
uses: ScottBrenner/cfn-lint-action@v2.2.1
- name: Run cloudformation lint
run: cfn-lint -t stack.yml