From 2b8ef5487491c9f25c427614032b455920784937 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Fri, 13 Feb 2026 11:55:43 +0000 Subject: [PATCH 1/2] Ignore composite GH workflow actions --- cmd/headers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/headers.go b/cmd/headers.go index a8be5cc..1424650 100644 --- a/cmd/headers.go +++ b/cmd/headers.go @@ -95,6 +95,7 @@ config, see the "copywrite init" command.`, // Append default ignored search patterns (e.g., GitHub Actions workflows) autoSkippedPatterns := []string{ ".github/workflows/**", + ".github/actions/**", ".github/dependabot.yml", "**/node_modules/**", ".copywrite.hcl", From b951c49735b6e01a18c1d58d4cdec1d09c2901a4 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Mon, 16 Feb 2026 09:57:07 +0000 Subject: [PATCH 2/2] exclude more git metadata --- cmd/headers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/headers.go b/cmd/headers.go index 1424650..b1005cf 100644 --- a/cmd/headers.go +++ b/cmd/headers.go @@ -100,6 +100,9 @@ config, see the "copywrite init" command.`, "**/node_modules/**", ".copywrite.hcl", ".git/**/*.pack", + ".git/objects/**", + ".git/refs/**", + ".git/logs/**", } ignoredPatterns := lo.Union(conf.Project.HeaderIgnore, autoSkippedPatterns)