docs(release-notes): v1.38.3 #322
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
| name: PR Checks | |
| on: | |
| pull_request: | |
| branches: [dev, main] | |
| jobs: | |
| link-audit: | |
| name: Link audit & redirect enforcement | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # full history needed for git diff | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| # The audit scripts use only Node built-ins: no install, no secrets, | |
| # so this job also runs on fork PRs, which never receive repo secrets | |
| - name: Check broken nav & content links | |
| run: node scripts/audit-links.mjs | |
| - name: Check deleted pages have redirects | |
| run: node scripts/check-deleted-pages.mjs ${{ github.base_ref }} |