You've already forked docker-compose-docker
fix(ci): add markdown linter and adapt renovate packageRule
Some checks failed
Build / build-amd64 (push) Successful in 2m25s
Markdown linter / markdown-link-checker (push) Failing after 6s
Markdown linter / markdown-lint (push) Failing after 6s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 7s
Build / build-arm64 (push) Has been cancelled
Some checks failed
Build / build-amd64 (push) Successful in 2m25s
Markdown linter / markdown-link-checker (push) Failing after 6s
Markdown linter / markdown-lint (push) Failing after 6s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 7s
Build / build-arm64 (push) Has been cancelled
This commit is contained in:
46
.gitea/workflows/markdown-linters.yaml
Normal file
46
.gitea/workflows/markdown-linters.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
name: Markdown linter
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths: [ "**/*.md" ]
|
||||
types: [ "opened", "reopened", "synchronize" ]
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
paths: [ "**/*.md" ]
|
||||
tags-ignore:
|
||||
- '**'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
markdown-link-checker:
|
||||
container:
|
||||
image: docker.io/library/node:24.10.0-alpine
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- name: Install tooling
|
||||
run: |
|
||||
apk update
|
||||
apk add git npm
|
||||
- uses: actions/checkout@v5.0.0
|
||||
- name: Verify links in markdown files
|
||||
run: |
|
||||
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