Skip to content

refactor(security): extract secrets detection into dedicated shell script#228

Open
Artem-Zahumonnyi wants to merge 2 commits intocodemie-ai:mainfrom
Artem-Zahumonnyi:epmcdme-10997-v2
Open

refactor(security): extract secrets detection into dedicated shell script#228
Artem-Zahumonnyi wants to merge 2 commits intocodemie-ai:mainfrom
Artem-Zahumonnyi:epmcdme-10997-v2

Conversation

@Artem-Zahumonnyi
Copy link

…ript

Move Docker/Podman secrets detection logic from pre-commit hook into scripts/secrets-check.sh, simplify pre-commit hook, and wire license-check script to the new shell script.

Summary

Changes

Impact

Checklist

  • Self-reviewed
  • Manual testing performed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)

…ript

Move Docker/Podman secrets detection logic from pre-commit hook into
scripts/secrets-check.sh, simplify pre-commit hook, and wire license-check
script to the new shell script.
"commitlint:last": "commitlint --from HEAD~1 --to HEAD --verbose",
"validate:secrets": "node scripts/validate-secrets.js",
"license-check": "node scripts/license-check.js",
"license-check": "bash scripts/secrets-check.sh",
Copy link
Collaborator

@8nevil8 8nevil8 Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we used node.js to be able to run it on both win and linux, can we stick to this approach for all repos?

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.

2 participants