Skip to content

Commit 921183f

Browse files
committed
chore: exclude tests directory from trunk-toolbox
trunk-toolbox requires git repository access and fails when running on test files from temp directories. Excluding tests directory to prevent CI failures.
1 parent 8628255 commit 921183f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.trunk/trunk.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ lint:
6060
paths:
6161
- "**/test_data" # required for golangci-lint, which runs on directories
6262
- "**/test_data/**"
63+
- linters: [trunk-toolbox]
64+
paths:
65+
- "tests/**" # trunk-toolbox needs git repo access, fails in temp directories
6366
- linters: [prettier]
6467
paths: [linters/markdownlint/README.md]
6568
threshold:

0 commit comments

Comments
 (0)