mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-10-20 18:56:26 +00:00
fix: exclude currencyIdScale from hardcoded secrets scan
This commit is contained in:
1 parent
0aeec6b566
commit
c6a992c4e6
1 file changed
+1
-1
@@ -60,7 +60,7 @@ jobs:
|
||||
FOUND=0
|
||||
|
||||
echo "Checking for private keys in config files..."
|
||||
if grep -rn --include="*.json" --include="*.py" -E "(0x[a-fA-F0-9]{64}|-----BEGIN.*PRIVATE)" . | grep -v node_modules | grep -v "chainId\|genesisHash\|parentId"; then
|
||||
if grep -rn --include="*.json" --include="*.py" -E "(0x[a-fA-F0-9]{64}|-----BEGIN.*PRIVATE)" . | grep -v node_modules | grep -v "chainId\|genesisHash\|parentId\|currencyIdScale\|typeAlias\|signedExtensions"; then
|
||||
echo "::error::Possible private key found"
|
||||
FOUND=1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user