feat(security): secret-scan в CI + pre-push хуки (#142) #1

Merged
eSlider merged 1 commits from feat/secret-scan#142 into main 2026-08-23 22:46:45 +01:00
Owner

Секрет-сканирование в CI + pre-push/pre-commit хуки (#142)

Часть A — CI: добавлен job secret-scan в .github/workflows/ci.yml (gitleaks zricethezav/gitleaks, сканирует diff новых коммитов на pull_request + push, fail-on-leak → красный CI).
Часть B — хуки: scripts/githooks/ (pre-push + pre-commit + secret-scan.sh + install.sh), сканируют новые коммиты gitleaks, блокируют push/commit при находке. Скилы git-workflow и devops обновлены правилом «скан перед любым push».

Секрет-сканирование в CI + pre-push/pre-commit хуки (#142) Часть A — CI: добавлен job `secret-scan` в `.github/workflows/ci.yml` (gitleaks `zricethezav/gitleaks`, сканирует diff новых коммитов на pull_request + push, fail-on-leak → красный CI). Часть B — хуки: `scripts/githooks/` (pre-push + pre-commit + secret-scan.sh + install.sh), сканируют новые коммиты gitleaks, блокируют push/commit при находке. Скилы git-workflow и devops обновлены правилом «скан перед любым push».
eSlider added 1 commit 2026-08-23 19:51:27 +01:00
feat(security): secret-scan via gitleaks in CI + pre-push/pre-commit hooks (#142)
Lint / Lint (push) Skipped
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Test (Go 1.22 / ubuntu-latest) (push) Skipped
Tests / Test (Go 1.23 / ubuntu-latest) (push) Skipped
Tests / Test (Go stable / macos-latest) (push) Skipped
Tests / Test (Go stable / ubuntu-latest) (push) Skipped
Tests / Test (Go stable / windows-latest) (push) Skipped
Secret scan / Secret scan (gitleaks) (push) Successful in 4s
Secret scan / Secret scan (gitleaks) (pull_request) Successful in 3s
Tests / Test (Go 1.22 / ubuntu-latest) (pull_request) Successful in 13s
Tests / Test (Go 1.23 / ubuntu-latest) (pull_request) Successful in 15s
Lint / Lint (pull_request) Successful in 43s
Tests / Test (Go stable / ubuntu-latest) (pull_request) Successful in 22s
Tests / Test (Go stable / macos-latest) (pull_request) Canceled after 0s
Tests / Test (Go stable / windows-latest) (pull_request) Canceled after 0s
78076ee5a9
eSlider merged commit f608fa9917 into main 2026-08-23 22:46:45 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-config#1