Skip to content

Commit 586d23c

Browse files
KATO-Hiroclaude
andcommitted
fix: Move monthly_changelog exclusion to lychee.toml exclude_path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 74499b1 commit 586d23c

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/link_checker.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Markdown links with scheduled job
22

33
on:
44
schedule:
5-
- cron: "30 15 * * 2" # Every Wednesday at 0:30 JST (Tue 15:30 UTC)
5+
- cron: "30 15 * * 2" # Every Wednesday at 0:30 JST (Tue 15:30 UTC)
66

77
jobs:
88
lychee:
@@ -19,5 +19,6 @@ jobs:
1919

2020
- uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
2121
with:
22-
args: --cache --max-cache-age 14d --quiet "docs/**/*.md" "monthly_changelog/**/*.md" "README.md" "CONTRIBUTING.md"
22+
args: --cache --max-cache-age 14d --quiet "docs/**/*.md" "README.md"
23+
"CONTRIBUTING.md"
2324
fail: true

.github/workflows/link_checker_for_modified_files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Check Markdown links for modified files
22

3-
on: [pull_request]
3+
on: [ pull_request ]
44

55
jobs:
66
lychee:
@@ -16,7 +16,6 @@ jobs:
1616
with:
1717
files: |
1818
docs/**/*.md
19-
monthly_changelog/**/*.md
2019
README.md
2120
CONTRIBUTING.md
2221
@@ -31,5 +30,6 @@ jobs:
3130
- uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
3231
if: steps.changed-files.outputs.any_changed == 'true'
3332
with:
34-
args: --cache --max-cache-age 14d --quiet ${{ steps.changed-files.outputs.all_changed_files }}
33+
args: --cache --max-cache-age 14d --quiet ${{
34+
steps.changed-files.outputs.all_changed_files }}
3535
fail: true

lychee.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ exclude_path = [
5656
"docs/archived/migrate_servers\\.md",
5757
"docs/archived/no_longer_available\\.md",
5858
"docs/archived/outdated_information\\.md",
59+
"monthly_changelog/**/*.md",
5960
]
6061

6162
# Accept 429 (Rate Limited) in addition to default success codes (100–103, 200–299)

0 commit comments

Comments
 (0)