Repository navigation
ci: 푸시·PR마다 gitleaks 로 비밀값 커밋 여부 검사 - #14
Merged
Merged
Conversation
- git 기록 전체를 검사하고 비밀값이 나오면 실패한다 (gitleaks 8.30.1, 체크섬 확인) - 의존성·빌드 결과물·lock·캐시 파일은 .gitleaks.toml 에서 제외한다 - 확인을 마친 테스트·문서의 가짜 값은 .gitleaksignore 에 지문으로 등록한다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
.gitleaks.toml: 기본 규칙을 그대로 쓰고 의존성·빌드 결과물·lock·캐시 파일(node_modules,.next,dist,*-lock.yaml,.terraform.lock.hcl,*.tsbuildinfo등)은 제외합니다..gitleaksignore: 하나씩 확인한 테스트·문서의 가짜 값만 커밋·파일·줄 단위 지문으로 등록했습니다.확인
src·node_modules·lock 파일에 넣었을 때src만 잡히고 실패하는 것 확인🤖 Generated with Claude Code