Skip to content

feat: added github action spell check + inco workshop #107

feat: added github action spell check + inco workshop

feat: added github action spell check + inco workshop #107

Workflow file for this run

name: Markdown checker
on:
pull_request
jobs:
links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
config-file: '.github/workflows/config/markdown-links.json'
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get changed files
uses: tj-actions/changed-files@v35
id: changed-files
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v9
if: steps.changed-files.outputs.any_changed == 'true'
with:
command: config
globs: |
.github/workflows/config/.markdownlint.jsonc,
${{ steps.changed-files.outputs.all_changed_files }}
separator: ","
spell-check:
runs-on: ubuntu-latest
steps:
- name: Spell checker
uses: actions/checkout@v3
uses: rojopolis/spellcheck-github-actions@v0

Check failure on line 43 in .github/workflows/markdown.yaml

View workflow run for this annotation

GitHub Actions / Markdown checker

Invalid workflow file

The workflow is not valid. .github/workflows/markdown.yaml (Line: 43, Col: 7): 'uses' is already defined .github/workflows/markdown.yaml (Line: 44, Col: 7): 'name' is already defined
name: Spellcheck
with:
source_files: $(find . -type f -name "*.md" -print)
task_name: Markdown