On a big project, the check only looks at the branch you have open, not the one you're sending. So a secret on another branch could slip through.
I found it from the other side: it blocked my push because of an old branch I had open, even though what I was sending was clean.
The check is in LifeOS/install/hooks/PublicPushGate.hook.ts, around line 119. It should look at the branch being pushed.
On a big project, the check only looks at the branch you have open, not the one you're sending. So a secret on another branch could slip through.
I found it from the other side: it blocked my push because of an old branch I had open, even though what I was sending was clean.
The check is in LifeOS/install/hooks/PublicPushGate.hook.ts, around line 119. It should look at the branch being pushed.