Skip to content

security: harden repository security to match PulseBase setup - #22

Merged
gerfru merged 1 commit into
masterfrom
feat/repository-security
Jun 10, 2026
Merged

security: harden repository security to match PulseBase setup#22
gerfru merged 1 commit into
masterfrom
feat/repository-security

Conversation

@gerfru

@gerfru gerfru commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pin all GitHub Actions to commit digests (supply-chain hardening)
  • Add permissions: contents: read and concurrency (cancel-in-progress) to CI workflow
  • Add check-pr-size job — fails PRs > 400 LOC (excludes lockfiles/CHANGELOG)
  • Move gitleaks into dedicated security job; add ci-ok all-green gate job
  • Extend .pre-commit-config.yaml with pre-commit-hooks (trailing-whitespace, check-yaml/json/toml, check-merge-conflict, large-files ≤500KB, no-commit-to-branch) and detect-secrets
  • Add .github/pull_request_template.md adapted for docs/plugin workflow
  • Add .secrets.baseline (required by detect-secrets hook)

Test plan

  • CI passes on this PR
  • All pre-commit hooks pass locally (pre-commit run --all-files)
  • ci-ok gate job is green

🤖 Generated with Claude Code

- Pin all GitHub Actions to commit digests
- Add permissions: contents: read at workflow level
- Add concurrency with cancel-in-progress
- Add check-pr-size job (400 LOC limit, excludes lockfiles/CHANGELOG)
- Move gitleaks into dedicated security job
- Add ci-ok gate job as single required status check
- Add pre-commit-hooks (trailing-whitespace, check-yaml/json/toml,
  check-merge-conflict, large-files, no-commit-to-branch)
- Add detect-secrets hook with .secrets.baseline
- Add .github/pull_request_template.md for docs/plugin workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gerfru
gerfru merged commit 1836378 into master Jun 10, 2026
5 checks passed
@gerfru
gerfru deleted the feat/repository-security branch June 10, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant