-
Notifications
You must be signed in to change notification settings - Fork 14
initial commit #34
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
base: main
Are you sure you want to change the base?
initial commit #34
Changes from all commits
e232180
77732fa
c0c45e3
fddb382
d25bb5d
def9c5c
b10372b
33f5bc0
4d65649
b754a71
936c776
18bbe9b
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,18 @@ | ||
| --- | ||
| dirs: | ||
| - ./ | ||
| #baseUrl: https://example.com | ||
| # ignorePatterns: | ||
| # - pattern: '^https://example.com/skip/.*$' | ||
| # - pattern: "^(ftp)://[^\\s/$?#]*\\.[^\\s]*$" | ||
| # replacementPatterns: | ||
| # - pattern: "(https?://example.com)/(\\w+)/(\\d+)" | ||
| # replacement: '$1/id/$3' | ||
| # - pattern: "\\[([^\\]]+)\\]\\((https?://example.com)/file\\)" | ||
| # replacement: '<a href="$2/file">$1</a>' | ||
| aliveStatusCodes: | ||
| - 200 | ||
| - 201 | ||
| - 204 | ||
| useGitIgnore: true | ||
| modifiedFilesOnly: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| --- | ||
| ########################### | ||
| ########################### | ||
| ## Markdown Linter rules ## | ||
| ########################### | ||
| ########################### | ||
|
|
||
| # Linter rules doc: | ||
| # - https://github.com/DavidAnson/markdownlint | ||
| # | ||
| # Note: | ||
| # To comment out a single error: | ||
| # <!-- markdownlint-disable --> | ||
| # any violations you want | ||
| # <!-- markdownlint-restore --> | ||
| # | ||
|
|
||
| ############### | ||
| # Rules by id # | ||
| ############### | ||
| MD004: false # Unordered list style | ||
| MD007: | ||
| indent: 2 # Unordered list indentation | ||
| MD013: | ||
| line_length: 900 # Line length 80 is far too short | ||
| MD026: | ||
| punctuation: ".,;:!。,;:" # List of not allowed | ||
| MD029: false # Ordered list item prefix | ||
| MD033: false # Allow inline HTML | ||
| MD036: false # Emphasis used instead of a heading | ||
|
|
||
| ################# | ||
| # Rules by tags # | ||
| ################# | ||
| blank_lines: false # Error on blank lines | ||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,6 @@ | ||||||||
| --- | ||||||||
| rules: | ||||||||
| line-length: | ||||||||
| max: 900 | ||||||||
| allow-non-breakable-words: true | ||||||||
| allow-non-breakable-inline-mappings: false | ||||||||
|
||||||||
| allow-non-breakable-inline-mappings: false | |
| allow-non-breakable-inline-mappings: false | |
| truthy: disable |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,56 @@ | ||||||
| --- | ||||||
| name: Code Review - Linting & Link Checks | ||||||
|
|
||||||
| on: | ||||||
|
||||||
| on: | |
| on: # yamllint disable-line rule:truthy |
Copilot
AI
Mar 24, 2026
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.
This commented config path looks incorrect (.github/linters/.yamllint.yml), but the repo adds .github/linters/.yaml-lint.yml. Even though it's commented out, leaving the wrong path here is misleading when someone later enables it—update it to the actual config filename/path used in this repo.
| #YAMLLINT_CONFIG_FILE: .github/linters/.yamllint.yml | |
| #YAMLLINT_CONFIG_FILE: .github/linters/.yaml-lint.yml |
Copilot
AI
Mar 24, 2026
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.
actions/checkout@master is a floating ref and can change unexpectedly (and is inconsistent with the v4 usage above). Pin this to a stable major tag (e.g. actions/checkout@v4) to avoid workflow breakages and supply-chain risk.
| uses: actions/checkout@master | |
| uses: actions/checkout@v4 |
Copilot
AI
Mar 24, 2026
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.
secrets.github_token is not the standard built-in token name and is likely undefined (secrets are case-sensitive). For this action input, use the built-in ${{ secrets.GITHUB_TOKEN }} or ${{ github.token }} so the workflow can authenticate reliably.
| github_token: ${{ secrets.github_token }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |
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.
The inline comment contradicts the setting:
blank_lines: falsedisables theblank_linestag/rules, but the comment says it will error on blank lines. Update the comment (or the value) so the config is self-explanatory.