Skip to content

fix(test-smoke): set USERPROFILE alongside HOME for Windows Path.home() compat #130

fix(test-smoke): set USERPROFILE alongside HOME for Windows Path.home() compat

fix(test-smoke): set USERPROFILE alongside HOME for Windows Path.home() compat #130

Workflow file for this run

name: Public Repo Hygiene
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
hygiene:
name: hygiene paths
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v6.0.0
with:
python-version: "3.12"
- name: Run full hygiene check (path + content rules)
# Full scan: path rules + content rules. Content rules include the
# `dangerously-skip-permissions` regex. Docs that legitimately
# describe the rule (3 hygiene docs under docs/) are allowlisted in
# `scripts/validate/public_repo_hygiene.py` itself.
run: python scripts/validate/public_repo_hygiene.py --tracked