You've already forked docker-compose-docker
Compare commits
1 Commits
a7c343098f
...
e596b0d5ce
| Author | SHA1 | Date | |
|---|---|---|---|
|
e596b0d5ce
|
@@ -1,21 +1,46 @@
|
|||||||
name: 'Lint Markdown files'
|
name: Markdown linter
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
paths: [ "**/*.md" ]
|
||||||
- opened
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
- reopened
|
|
||||||
- synchronize
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- '**'
|
||||||
|
paths: [ "**/*.md" ]
|
||||||
|
tags-ignore:
|
||||||
|
- '**'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
markdown-lint:
|
markdown-link-checker:
|
||||||
runs-on: ubuntu-latest
|
container:
|
||||||
|
image: docker.io/library/node:24.10.0-alpine
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git npm
|
||||||
- uses: actions/checkout@v5.0.0
|
- uses: actions/checkout@v5.0.0
|
||||||
- uses: DavidAnson/markdownlint-cli2-action@v19.1.0
|
- name: Verify links in markdown files
|
||||||
with:
|
run: |
|
||||||
globs: '**/*.md'
|
npm install
|
||||||
|
npm run readme:link
|
||||||
|
|
||||||
|
markdown-lint:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:24.10.0-alpine
|
||||||
|
runs-on:
|
||||||
|
- ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git
|
||||||
|
- uses: actions/checkout@v5.0.0
|
||||||
|
- name: Lint markdown files
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:lint
|
||||||
|
|||||||
Reference in New Issue
Block a user