-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lyche link-checking #22
Lyche link-checking #22
Conversation
d47fbff
to
6e2c747
Compare
* Some requests are malformed due to the hugo base path
2d80449
to
456ddff
Compare
* Ignore DOI links
Note: the workflow will fail due to new permissions being added to the action. Refer to the test PR for results: nikitawootten-nist#1 |
f46950e
to
27a937e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome, nice work on a pesky problem.
Interesting to think about: whether OSCAL repo wants its own XSpec, whether calling, or sometimes switching in for the XSpec lower down.
@iMichaela @aj-stein-nist should the release-notes be removed/aliased to GitHub's release page as part of this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified that the ssp and cdef links are working.
I am fine with removing the redundant data or we need to update a checklist and start adding a page with PR review to lag a release. @iMichaela suggested as much: I think if we want to do that, we want to update the ("new") news page after the release is drafted. That means I am happy moving the currently (and frequently) out of sync release page (since we can edit GitHub notes quickly, the website) less so. We can wait to see if Michaela agrees. |
I had to understand the CI/CD error but it appears to relate to the permissions because the PR opened from a fork, not a branch of the upstream, @nikitawootten-nist. I am still happy with it and it stays approved. |
Unfortunately GitHub's UX for PRs from a fork isn't great. Any new permissions are denied without explanation. I have a twin PR on my fork demonstrating that the commits do build and produce linkcheck comments: nikitawootten-nist#1 |
@iMichaela agreed to this approach. @nikitawootten-nist will work on removing releases page, AJ will update procedures for release docs to update it and include an update to the news page. |
Final checks passed: https://github.com/nikitawootten-nist/OSCAL-Reference/actions/runs/6329066790/job/17188603346 Merging now |
Guidance updated in core wiki in the commit below. News page approach backported per usnistgov/OSCAL-Pages#52. |
This PR sets up link checking with Hugo (#5)
Progress
pages
workflow to optionally perform link checking (allow the result to be ignored onworkflow_dispatch
)Fix Lychee behavior on relative linksFix the model documentation pipeline's relative link handling: Awaiting Remove trailing slash in-page
options for modeldoc pipeline fixing relative path traversals metaschema-xslt#75pages
workflow to:Side-effects
workflow_dispatch
events