-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ci/test md autofix #1
base: main
Are you sure you want to change the base?
Changes from 21 commits
716d54c
14e04d4
b29fa10
16dc367
e692bf9
8569f8b
28ba755
81038ee
8eac0e3
3bf7556
48c5599
ead600f
f236b77
e9fd2bf
5fd531e
fe7aae9
6585342
9606467
76a7496
76f2cb8
09b3588
9b33647
2d7aa0a
7a0a14b
0ac1330
f8d3324
a6f4d65
1c2f015
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Trigger | ||
on: | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- "content/**/*.md" | ||
|
||
jobs: | ||
lilint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Node | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 14 | ||
|
||
- run: npm install -g markdownlint-cli | ||
|
||
- uses: xt0rted/markdownlint-problem-matcher@v1 | ||
|
||
- run: markdownlint -i "**/template_*.md" -i node_modules content/**/*.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: reporter | ||
|
||
# Trigger | ||
on: | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- "content/**/*.md" | ||
|
||
jobs: | ||
mdlint-report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: markdownlint-github-check | ||
uses: reviewdog/action-markdownlint@v0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-check | ||
level: warning | ||
filter_mode: nofilter | ||
|
||
- name: markdownlint-github-pr-review | ||
uses: reviewdog/action-markdownlint@v0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-review | ||
markdownlint_flags: content/**/*.md |
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,38 @@ | ||||
# Hello ! | ||||
|
||||
|
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶
Guts marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
# Bonjour 2 | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
- salut | ||||
- première liste à puces | ||||
|
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint-fix] reported by reviewdog 🐶
Suggested change
|
||||
* et bam | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
* une autre liste à puces mais pas avec le même caractère | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
bash | ||||
sfbdfdb | ||||
|
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶
Comment on lines
+15
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint-fix] reported by reviewdog 🐶
Suggested change
|
||||
# chouette! | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
<!-- un saut de ligne anormal --> | ||||
|
||||
--- | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
|
||||
<!-- un saut de ligne normal --> | ||||
|
||||
---- | ||||
|
||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [markdownlint] reported by reviewdog 🐶 |
||||
<!-- la balise vidéo est acceptée grâce à la configuration --> | ||||
<video width="700" controls> | ||||
<!-- markdownlint-disable MD033 --> | ||||
<source src="https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_1280_10MG.mp4" type="video/mp4"> | ||||
Votre navigateur ne supporte pas la balise video HTML 5. | ||||
<!-- markdownlint-enable MD033 --> | ||||
</video> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[markdownlint] reported by reviewdog 🐶
MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]