summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-20 08:09:15 +0200
committerRemi Collet <remi@php.net>2024-09-20 08:09:15 +0200
commit64fe22b1562a43c6c372f8d4861ea697857da361 (patch)
tree020b535ebe1d49ae014bcbaba31b35e0ebd82759
parentc3aa0575f206bfd7d21467e6ea565e8c13eb2b02 (diff)
add .gitleaks.toml
-rw-r--r--.gitleaks.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitleaks.toml b/.gitleaks.toml
new file mode 100644
index 0000000..dbc852b
--- /dev/null
+++ b/.gitleaks.toml
@@ -0,0 +1,13 @@
+[allowlist]
+ description = "Global Allowlist"
+
+ # Ignore based on any subset of the file path
+ paths = [
+ # Ignore documentation
+ '''README.md''',
+
+ # Ignore tests
+ '''tests\/.*\.phpt''',
+ ]
+
+