Skip to content

Try to fix textlint error again and again #12

Try to fix textlint error again and again

Try to fix textlint error again and again #12

Workflow file for this run

name: Markdownlint
on:
pull_request:
paths:
- '**.md'
push:
paths:
- '**.md'
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Run markdownlint
run: |
CHANGED_FILES=$(git diff --name-only --diff-filter=d origin/${{ github.base_ref }}...${{ github.sha }} | grep '\.md$' | xargs)
markdownlint $CHANGED_FILES