Skip to content

Merge pull request #279 from BillAnastasiadis/gcp12 #818

Merge pull request #279 from BillAnastasiadis/gcp12

Merge pull request #279 from BillAnastasiadis/gcp12 #818

Workflow file for this run

name: 'Markdown'
on:
push:
branches:
- "main"
pull_request:
paths:
- README.md
- CONTRIBUTING.md
- terraform/aws/README.md
- terraform/azure/README.md
- terraform/gcp/README.md
- .github/workflows/markdown.yml
permissions:
contents: read
jobs:
markdown_lint:
name: 'Markdown lint'
runs-on: ubuntu-latest
environment: production
strategy:
matrix:
docfile: ['README.md', 'CONTRIBUTING.md', 'terraform/aws/README.md', 'terraform/gcp/README.md', 'terraform/azure/README.md']
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v3
- name: markdownlint-cli
uses: nosborn/[email protected]
with:
files: ${{ matrix.docfile }}
config_file: .markdownlint.json
- name: Spell-check Markdown files
uses: streetsidesoftware/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
incremental_files_only: false
config: 'cspell.json'
files: ${{ matrix.docfile }}