Skip to content

Commit

Permalink
Exempt uri-use page from link checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Oct 18, 2022
1 parent e4f710c commit a5429d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/workflow-generate-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
id: linkchecker
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76
with:
args: --exclude-file ./build/config/.lycheeignore --verbose --no-progress './docs/public/**/*.html' --accept 200,206,429
args: --exclude-file ./build/config/.lycheeignore --verbose --no-progress --accept 200,206,429 './published/**/*.html' --exclude-mail --skip-missing
format: markdown
output: html-link-report.md
env:
Expand Down Expand Up @@ -180,7 +180,4 @@ jobs:
enable_jekyll: false
publish_dir: ./docs/public
publish_branch: nist-pages
commit_user_name: OSCAL GitHub Actions Bot
commit_user_email: [email protected]
commit_author: OSCAL GitHub Actions Bot <[email protected]>
commit_message: Deploying website [ci deploy skip]
2 changes: 1 addition & 1 deletion .github/workflows/workflow-validate-website-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: linkchecker
uses: lycheeverse/lychee-action@4a5af7cd2958a2282cefbd9c10f63bdb89982d76
with:
args: --exclude-file ./build/config/.lycheeignore --verbose --no-progress --accept 200,206,429 './published/**/*.html' --exclude-mail
args: --exclude-file ./build/config/.lycheeignore --verbose --no-progress --accept 200,206,429 './published/**/*.html' --exclude-mail --skip-missing
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create issue if bad links detected
Expand Down
6 changes: 6 additions & 0 deletions build/config/.lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ https://cdn.telos.com/wp-content/uploads/2021/06/22150746/Xacta-360-EULA-US.pdf
https://search.usa.gov/search
https://example.com/.*
https://www.mirantis.com/blog/automating-compliance-for-highly-regulated-industries-with-docker-enterprise-edition-and-oscal.*
# TODO: Remove this exemption for URI Use page added in usnistgov/OSCAL#1263 is
# merged from develop into main (and nist-pages) the page officially gets published
# and is checkable. See this failed build for more details:
# https://github.com/usnistgov/OSCAL/actions/runs/3275978846
#https://pages.nist.gov/OSCAL/concepts/uri-use*
#^file:///*/OSCAL/docs/public/OSCAL/concepts/uri-use$

0 comments on commit a5429d8

Please sign in to comment.