feat: add gitleaks secret scanning to CI pipeline
Runs gitleaks detect with full history before the build job. Both test and secrets jobs must pass to gate image push. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -37,8 +37,9 @@ Dev override: compose.yaml mounts `./src` (ro) over the baked-in source.
|
||||
|
||||
Gitea Actions runs on push to `main`:
|
||||
|
||||
1. `ruff check` + `pytest` in `python:3.13-slim`
|
||||
2. Build + push `harbor.mymx.me/s5p/s5p:latest`
|
||||
1. `ruff check` + `pytest` (test)
|
||||
2. `gitleaks detect` (secrets scan)
|
||||
3. Build + push `harbor.mymx.me/s5p/s5p:latest`
|
||||
|
||||
Secrets: `HARBOR_USER` / `HARBOR_PASS` (configured in Gitea repo settings).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user