Skip to content

Commit 2590892

Browse files
ci: run internal /blog/ link check tree-wide (#255)
Pre-commit only checks touched posts; this catches links that break when a target post is renamed or unpublished. Tree is clean as of #199. Git-Session-Id: 5e84
1 parent a0faa03 commit 2590892

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/pages.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
with:
3333
persist-credentials: false
3434

35+
# Tree-wide: a link to an unpublished (public: false) post 404s live.
36+
- name: Check internal blog links
37+
run: |
38+
python3 scripts/precommit/check_internal_blog_links.py
39+
3540
- name: Setup Ruby
3641
uses: ruby/setup-ruby@v1
3742
with:
@@ -57,7 +62,7 @@ jobs:
5762
--run-sha "${{ github.sha }}" \
5863
--token "${{ github.token }}" \
5964
--github-output "$GITHUB_OUTPUT"
60-
65+
6166
- name: Check GitHub links
6267
run: |
6368
python3 scripts/check_github_links.py --site-dir _site

0 commit comments

Comments
 (0)