mirror of https://github.com/mastodon/mastodon
39 lines
726 B
YAML
39 lines
726 B
YAML
name: Markdown Linting
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'dependabot/**'
|
|
- 'renovate/**'
|
|
paths:
|
|
- '.github/workflows/lint-md.yml'
|
|
- '.nvmrc'
|
|
- '.prettier*'
|
|
- '**/*.md'
|
|
- '!AUTHORS.md'
|
|
- 'package.json'
|
|
- 'yarn.lock'
|
|
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/lint-md.yml'
|
|
- '.nvmrc'
|
|
- '.prettier*'
|
|
- '**/*.md'
|
|
- '!AUTHORS.md'
|
|
- 'package.json'
|
|
- 'yarn.lock'
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Javascript environment
|
|
uses: ./.github/actions/setup-javascript
|
|
|
|
- name: Prettier
|
|
run: yarn lint:md
|