This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Polkadot sdk update #14
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: Check Markdown | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
permissions: | |
packages: read | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- uses: actions/[email protected] | |
with: | |
node-version: "18.x" | |
registry-url: "https://npm.pkg.github.com" | |
scope: "@paritytech" | |
- name: Install tooling | |
run: | | |
npm install -g markdownlint-cli | |
markdownlint --version | |
- name: Check Markdown | |
env: | |
CONFIG: .github/.markdownlint.yaml | |
run: | | |
markdownlint --config "$CONFIG" --ignore target . |