The pinned action versions had drifted apart between the container image repositories, which made it hard to tell whether a workflow failure was caused by a local change or by an outdated action. All actions are now pinned to the commit sha of their latest upstream release, so every repository runs the same toolchain.
23 lines
448 B
YAML
23 lines
448 B
YAML
name: 'Lint Markdown files'
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
markdown-lint:
|
|
runs-on:
|
|
- ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0
|
|
with:
|
|
globs: '**/*.md'
|