chore: align GitHub standards and repo metadata #1
Workflow file for this run
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: Docs Hygiene | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| docs-hygiene: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check docs for local workstation paths | |
| run: | | |
| set -euo pipefail | |
| disallowed='(/Users/|C:\\Users\\|/home/[^/]+/)' | |
| if rg -n "$disallowed" -g '*.md' .; then | |
| echo 'Found local workstation path references in docs.' >&2 | |
| exit 1 | |
| fi |