Repository navigation
Point to Stanford's Stats 311/EE 377 on the home page #254
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Thin caller of Morrison-Lab/gha's reusable term-link check. | |
| # It flags a defined term whose first use in a div, or in a paragraph outside | |
| # a div, is not linked to its definition (terms are defined and linked at first use). | |
| # Blocking and diff-scoped: it fails a PR only for lines the PR adds. | |
| # No `push` trigger: with no PR base to diff against, the reusable workflow | |
| # skips, so a push run would report success, having checked nothing. | |
| name: Check term links | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| permissions: | |
| contents: read | |
| uses: Morrison-Lab/gha/.github/workflows/check-term-links.yml@v3 | |
| with: | |
| # `**`, not `*`: gha's matcher stops a single `*` at a `/`. | |
| # `_extensions/` holds vendored Quarto extensions; | |
| # `latex-macros/` is the shared macros submodule. | |
| paths-ignore: '_extensions/**,latex-macros/**' | |
| # Ordinary English words that the corpus also defines as terms. | |
| allow-file: .github/term-links-allow.txt | |
| # The prerequisite sites define terms ids uses, such as "joint distribution" in pds, | |
| # so a term defined there is linked at its first use in each div here too (gha#1462). | |
| terms-from: 'Morrison-Lab/mds Morrison-Lab/pds Morrison-Lab/sds' | |
| # A manual run has no PR to diff against and would otherwise skip, | |
| # having examined nothing; make it report the whole tree instead. | |
| whole-tree: ${{ github.event_name == 'workflow_dispatch' }} |