Skip to content

Commit b500c62

Browse files
committed
Hooks QA job up to lychee reusable flow
1 parent 4088a42 commit b500c62

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/qa.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ on:
77

88
jobs:
99
qa:
10-
name: Test HTML Links
1110
uses: gsa/data.gov/.github/workflows/static-site-qa-template.yml@main
11+
with:
12+
site_url: https://strategy.data.gov
13+
issue_number: 338

.lycheeignore

Whitespace-only changes.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ Feature branches should be branched from `main`.
4242
`develop` is used ad-hoc in order to preview significant changes with partners
4343
and is not part of the development workflow.
4444

45+
### Broken Links
46+
47+
We run a [weekly QA cron job](https://github.com/GSA/data-strategy/actions/workflows/qa.yml) to test for broken links.
48+
49+
Any errors the QA job finds will be added to the [📌 Link Checker Report](https://github.com/GSA/data-strategy/issues/338).
50+
51+
False positives, or URLs you wish to ignore can be put in the `.lycheeignore` file. This supports regex matching as well.
52+
53+
This job can also be run locally. Install instructions here: https://lychee.cli.rs/installation/
54+
55+
Then run with args: `lychee --base=https://strategy.data.gov .`
56+
4557
## Public domain
4658

4759
This project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md):

0 commit comments

Comments
 (0)