Skip to content

Commit 108eea0

Browse files
committed
- add Scheduled runs
- ignore multiple same headings in markdown
1 parent 1c1ebc1 commit 108eea0

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
###########################
3+
###########################
4+
## Markdown Linter rules ##
5+
###########################
6+
###########################
7+
8+
# Linter rules doc:
9+
# - https://github.com/DavidAnson/markdownlint
10+
#
11+
# Note:
12+
# To comment out a single error:
13+
# <!-- markdownlint-disable -->
14+
# any violations you want
15+
# <!-- markdownlint-restore -->
16+
#
17+
18+
############################
19+
# Super-linter Rules by id #
20+
############################
21+
MD004: false # Unordered list style
22+
MD007:
23+
indent: 2 # Unordered list indentation
24+
MD013:
25+
line_length: 808 # Line length 80 is far too short
26+
MD026:
27+
punctuation: ".,;:!。,;:" # List of not allowed
28+
MD029: false # Ordered list item prefix
29+
MD033: false # Allow inline HTML
30+
MD036: false # Emphasis used instead of a heading
31+
32+
##############################
33+
# Super-linter Rules by tags #
34+
##############################
35+
blank_lines: false # Error on blank lines
36+
37+
########################
38+
# Seablast Rules by id #
39+
########################
40+
# Multiple heading with the same content (in CHANGELOG.md)
41+
MD024: false # No-duplicate-heading

.github/workflows/polish-the-code.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
# notest branches to ignore testing of partial online commits
1313
- "notest/**"
1414

15+
schedule:
16+
# Run the workflow at 6:30 AM UTC on the 18th of every month
17+
- cron: "30 6 18 * *"
18+
# Scheduled runs should not commit-changes automatically to the same branch
19+
1520
permissions:
1621
contents: read
1722

0 commit comments

Comments
 (0)