Skip to content

Commit e6de682

Browse files
authored
Merge pull request #2023 from fluent/lynettemiles/sc-142988/ci-cd-for-fluent-markdownlint
2 parents 27a883d + 7ef85d6 commit e6de682

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/pr-lint.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: ludeeus/action-shellcheck@master
2424

25+
markdownlint:
26+
name: runner / markdownlint
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: markdownlint
31+
uses: prologic/[email protected]
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
reporter: github-pr-review # Change reporter. (Only `github-pr-check` is supported at the moment).
2535
vale:
2636
name: runner / vale
2737
runs-on: ubuntu-latest

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,9 @@ The following tests are at a `warning` level and won't prevent merging:
185185
file and makes suggestions for improvements. Most markdownlint tests are enabled.
186186
[See the configuration file](https://github.com/fluent/fluent-bit-docs/blob/master/.markdownlint.json).
187187

188+
The Fluent Bit documentation repository is using a GitHub action to check for invalid
189+
markdown based on the configuration file. This action might provide review
190+
suggestions, but doesn't block merging.
191+
188192
Line wrap tests are off due to a GitBook decision that hard wraps the rendered page
189193
on line wraps in the markdown. This leads to rendered pages with awkward line wraps.

installation/getting-started-with-fluent-bit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: A guide on how to install, deploy, and upgrade Fluent Bit
77

88
## Container deployment
99

10-
| Deployment Type | instructions |
10+
| Deployment Type | Instructions |
1111
| ----------------- | -------------------------------------------------- |
1212
| Kubernetes | [Deploy on Kubernetes](kubernetes.md#installation) |
1313
| Docker | [Deploy with Docker](docker.md) |

0 commit comments

Comments
 (0)