Repository navigation
security(privacy-check): restrict C3 commit emails to noreply, bots, and web-flow committer - #3256
Merged
Merged
Conversation
…and web-flow committer
Member
Author
|
Review at 77528b1: APPROVE |
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.
Summary
tools/privacy-check/check.pysonoreply@github.comis allowed only on thecommitterfield (GitHub web-flow / merge-queue commits) and refused onauthor.<n>+<name>[bot]@users.noreply.github.com) onauthorandcommitter.C3 commit-N-author:1/C3 commit-N-committer:1) and keep range scanning scoped to the pushed / PR commit range (base..head).tools/privacy-check/README.md.Verification
python3 -I tools/privacy-check/test_check.py(48 tests, OK)sh .githooks/test.sh --fixtures-only(OK)python3 -I tools/privacy-check/check.py --repo . --git-tree HEAD --base origin/main --head HEAD(OK)python3 -I tools/comment-check/check.py diff --base origin/main(OK)python3 -I tools/line-budget/check.py --base origin/main --merge HEAD --description-file /dev/null(OK)Built with Cloudroom