New blog: Milan meetup and virtual events for Cloud Native Sustainability Week 2024 #819
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Quality Checks | |
on: | |
pull_request: | |
jobs: | |
run-quality-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: tj-actions/changed-files@v39 | |
id: changed-files | |
with: | |
files: '**/*.md' | |
separator: ',' | |
- name: Lint Markdown files | |
uses: DavidAnson/[email protected] | |
if: steps.changed-files.outputs.any_changed == 'true' | |
with: | |
globs: ${{ steps.changed-files.outputs.all_changed_files }} | |
separator: ',' | |
config: '.markdownlint.json' | |
fix: true | |
continue-on-error: false | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install -g @cspell/dict-es-es | |
- name: Validate spelling | |
uses: streetsidesoftware/[email protected] | |
with: | |
config: 'cspell.json' | |
files: '**/*.md' | |
inline: 'error' | |
strict: true | |
incremental_files_only: true | |
- name: Validate links in Markdown files | |
uses: gaurav-nelson/[email protected] | |
with: | |
check-modified-files-only: 'yes' | |
config-file: 'link-config.json' | |
base-branch: 'main' | |
file-extension: '.md' |