Skip to content

Commit 0685542

Browse files
committed
fix: resolve link-check and lint workflow failures
- Update lychee-action from v1.10.0 to v2 to fix workflow parsing issue - Create .markdownlint.json with appropriate rules for awesome list - Remove unnecessary config creation step from lint workflow
1 parent f5156b8 commit 0685542

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/link-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Run lychee link checker
27-
uses: lycheeverse/lychee-action@v1.10.0
27+
uses: lycheeverse/lychee-action@v2
2828
with:
2929
args: --no-progress --cache --max-concurrency 5 --header "User-Agent: lychee/1.0" "**/*.md"
30-
continue-on-error: true
30+
fail: false
3131

3232
- name: Report failures
3333
if: failure()

.github/workflows/lint.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@ jobs:
2121
- name: Install markdownlint
2222
run: npm install -g markdownlint markdownlint-cli
2323

24-
- name: Create markdownlint config if not exists
25-
run: |
26-
if [ ! -f .markdownlint.json ]; then
27-
echo '{}' > .markdownlint.json
28-
fi
29-
3024
- name: Run markdownlint
31-
run: markdownlint "**/*.md" --ignore node_modules --ignore .github
25+
run: markdownlint "**/*.md" --ignore node_modules --ignore .github --config .markdownlint.json
3226

3327
- name: Setup Ruby for MD004 rule fix
3428
uses: ruby/setup-ruby@v1

.markdownlint.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"default": true,
3+
"MD013": false,
4+
"MD033": false,
5+
"MD041": false,
6+
"MD060": false,
7+
"MD034": false,
8+
"MD036": false,
9+
"MD051": false,
10+
"MD059": false
11+
}

0 commit comments

Comments
 (0)