Skip to content

Commit

Permalink
Create markdown tools workflow
Browse files Browse the repository at this point in the history
We want to be able to manually run MarkdownLint on CI.

[1]: https://github.com/DavidAnson/markdownlint
[2]: https://github.com/igorshubovych/markdownlint-cli
  • Loading branch information
torrocus committed Nov 15, 2023
1 parent d53963c commit 89aec11
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/markdown_tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Markdown tools
on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
markdownlint:
name: MarkdownLint

permissions:
contents: read
pull-requests: read

runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install MarkdownLint
run: npm install -g markdownlint-cli
- name: Checking markdown
run: markdownlint .

0 comments on commit 89aec11

Please sign in to comment.