Replaces the generated Python .gitignore with focused rules. The template ignored folders such as downloads/, build/ and env/, which could hide real stacks, and it missed vault files and private keys.
Adds a Checks workflow that runs on PRs and on pushes to main:
Secret Scan: Betterleaks over the full git history, pinned by version and checksum.
Lint:yamllint --strict and ansible-lint on the production profile, using Python 3.14.
Pins the lint tools in requirements-dev.txt.
Why
This repo will deploy to live hosts, so the guardrails go in before any automation does. These jobs only read code and need no SSH access or secrets.
Verification
Run locally on Python 3.12: yamllint and ansible-lint passed, and Betterleaks found no leaks in the history at that point. Python 3.14 is first tested by this PR's CI run.
Deployment impact
None. Nothing in this PR touches a host.
## What changed
- Replaces the generated Python `.gitignore` with focused rules. The template ignored folders such as `downloads/`, `build/` and `env/`, which could hide real stacks, and it missed vault files and private keys.
- Adds a `Checks` workflow that runs on PRs and on pushes to `main`:
- **Secret Scan:** Betterleaks over the full git history, pinned by version and checksum.
- **Lint:** `yamllint --strict` and `ansible-lint` on the `production` profile, using Python 3.14.
- Pins the lint tools in `requirements-dev.txt`.
## Why
This repo will deploy to live hosts, so the guardrails go in before any automation does. These jobs only read code and need no SSH access or secrets.
## Verification
Run locally on Python 3.12: `yamllint` and `ansible-lint` passed, and Betterleaks found no leaks in the history at that point. Python 3.14 is first tested by this PR's CI run.
## Deployment impact
None. Nothing in this PR touches a host.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
.gitignorewith focused rules. The template ignored folders such asdownloads/,build/andenv/, which could hide real stacks, and it missed vault files and private keys.Checksworkflow that runs on PRs and on pushes tomain:yamllint --strictandansible-linton theproductionprofile, using Python 3.14.requirements-dev.txt.Why
This repo will deploy to live hosts, so the guardrails go in before any automation does. These jobs only read code and need no SSH access or secrets.
Verification
Run locally on Python 3.12:
yamllintandansible-lintpassed, and Betterleaks found no leaks in the history at that point. Python 3.14 is first tested by this PR's CI run.Deployment impact
None. Nothing in this PR touches a host.