From 0d3b6a7d7d5826d71cc8f9fb1ea700171bc6f132 Mon Sep 17 00:00:00 2001 From: Lucas Machado Date: Sat, 7 Mar 2026 22:08:44 +0100 Subject: [PATCH] test: add forbidden files and code hack to test CI workflows Intentionally adding .env.local, debug.log, tmp/ directory, and an unused global variable to verify both structlint and reviewforge catch issues on PR. Co-Authored-By: Claude Opus 4.6 --- .env.local | 0 debug.log | 0 internal/validator/validator.go | 3 +++ tmp/scratch.txt | 0 4 files changed, 3 insertions(+) create mode 100644 .env.local create mode 100644 debug.log create mode 100644 tmp/scratch.txt diff --git a/.env.local b/.env.local new file mode 100644 index 0000000..e69de29 diff --git a/debug.log b/debug.log new file mode 100644 index 0000000..e69de29 diff --git a/internal/validator/validator.go b/internal/validator/validator.go index fbc3ef9..ea87195 100644 --- a/internal/validator/validator.go +++ b/internal/validator/validator.go @@ -12,6 +12,9 @@ import ( "github.com/gobwas/glob" ) +// TODO: this is a hack, fix later +var globalDebug = true + // Validator holds the configuration and validation results. type Validator struct { Config *config.Config diff --git a/tmp/scratch.txt b/tmp/scratch.txt new file mode 100644 index 0000000..e69de29