Skip to content

Commit

Permalink
👷 improve/consolidate validation + link checking
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Dec 10, 2024
1 parent 74deb4e commit 8640afa
Show file tree
Hide file tree
Showing 6 changed files with 301 additions and 565 deletions.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ indent_size = 4
trim_trailing_whitespace = false
insert_final_newline = true

[*.{yaml,yml,html,js,rb,css,xml,scss}]
[*.js]
indent_size = 4
insert_final_newline = true

[*.{yaml,yml,html,rb,css,xml,scss}]
indent_size = 2
43 changes: 35 additions & 8 deletions .github/.mlc_config.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,48 @@
{
"ignorePatterns": [
{"pattern": "dco.txt"}
],
"_replacementPatternsComment": "CODEOWNERS/TRADEMARKS are referenced in templates",
"replacementPatterns": [
{
"pattern": "^CODEOWNERS",
"replacement": "{{BASEURL}}/.github/CODEOWNERS"
"pattern": "^\\.\\/",
"replacement": "{{BASEURL}}"
},
{
"pattern": "^\\.\\.\\/templates\\/",
"replacement": "{{BASEURL}}"
},
{
"pattern": "^[./]*CODE_OF_CONDUCT.md",
"replacement": "https://www.commonhaus.org/policies/code-of-conduct/"
},
{
"pattern": "^[./]*(CONTRIBUTING|GOVERNANCE|TRADEMARKS).md",
"replacement": "{{BASEURL}}/$1.md"
},
{
"pattern": "^[./]*(CONTACTS|PROJECTS).yaml",
"replacement": "{{BASEURL}}/$1.yaml"
},
{
"pattern": "^[./]*COMMUNICATION.md",
"replacement": "https://www.commonhaus.org/community/"
},
{
"pattern": "^[./]*policies/$",
"replacement": "https://www.commonhaus.org/policies/"
},
{
"pattern": "^TRADEMARKS",
"replacement": "{{BASEURL}}/TRADEMARKS"
"pattern": "^[./]*policies/(.*).md",
"replacement": "https://www.commonhaus.org/policies/$1/"
},
{
"pattern": "^CONTRIBUTING",
"replacement": "{{BASEURL}}/CONTRIBUTING"
"pattern": "^[./]*bylaws/README.md",
"replacement": "https://www.commonhaus.org/bylaws/"
},
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
"pattern": "^[./]*(bylaws/)?\\d-(.*?).md",
"replacement": "https://www.commonhaus.org/bylaws/$2.html"
}
],
"_aliveComment": "Some sites return 403 from GH Actions check; 400 from twitter (login redirect)",
Expand Down
Loading

0 comments on commit 8640afa

Please sign in to comment.