Merge pull request #297 from karl-johan-grahn/doc-qa

feat(qa): add qa checks for dockerfile and documentation
This commit is contained in:
Faizan Ahmad
2022-04-04 21:06:56 +02:00
committed by GitHub
2 changed files with 24 additions and 0 deletions
+17
View File
@@ -48,6 +48,23 @@ jobs:
cd deployments/kubernetes/chart/reloader
helm lint
- name: Dockerfile Lint
uses: hadolint/hadolint-action@v1.6.0
with:
dockerfile: ${{env.DOCKER_FILE_PATH}}
failure-threshold: warning
- name: Link check
uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Spell check
uses: errata-ai/vale-action@v1.5.0
with:
styles: https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip
files: docs
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Install kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
+7
View File
@@ -0,0 +1,7 @@
StylesPath = spellingstyles
MinAlertLevel = warning
# Only check MarkDown files
[*.md]
BasedOnStyles = Vale