Skip to content

Commit 23ee0fd

Browse files
feat(trufflehog): exclude website content/about/404.md
Made-with: Cursor
1 parent 11917c5 commit 23ee0fd

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/reusable-trufflehog.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ jobs:
9090
(^|\./|[/\\])vendor([/\\]|$)
9191
# prefix: content/grafana/dashboards
9292
(^|\./|[/\\])content/grafana/dashboards([/\\]|$)
93+
# prefix: content/about/404.md
94+
(^|\./|[/\\])content/about/404\.md([/\\]|$)
9395
9496
# --- static path patterns ---
9597
# Lock files and checksums (contain hashes, not secrets)

trufflehog/global-exclude.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
(^|\./|[/\\])vendor([/\\]|$)
66
# prefix: content/grafana/dashboards
77
(^|\./|[/\\])content/grafana/dashboards([/\\]|$)
8+
# prefix: content/about/404.md
9+
(^|\./|[/\\])content/about/404\.md([/\\]|$)
810

911
# --- static path patterns ---
1012
# Lock files and checksums (contain hashes, not secrets)

trufflehog/prefixes.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# How to add a directory exclusion (no regex — one path per line):
1+
# How to add an exclusion (no regex — one repo-relative path per line; directory or file):
22
#
33
# 1. Add a line below (repo-relative path, use /), e.g. docs/imported
44
# 2. From the repo root, run: ./trufflehog/update-excludes.sh
@@ -11,3 +11,4 @@
1111

1212
vendor
1313
content/grafana/dashboards
14+
content/about/404.md

0 commit comments

Comments
 (0)