Skip to content

build(deps): Bump github.com/hashicorp/copywrite from 0.25.2 to 0.25.3 in /tools#492

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.3
Open

build(deps): Bump github.com/hashicorp/copywrite from 0.25.2 to 0.25.3 in /tools#492
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps github.com/hashicorp/copywrite from 0.25.2 to 0.25.3.

Release notes

Sourced from github.com/hashicorp/copywrite's releases.

v0.25.3

Bug Fixes

  • LICENSE no longer updated on every run (#224)
    anyFileUpdated was unconditionally set to true in non-plan mode due to a buggy condition, causing the LICENSE file's copyright year to be bumped on every successful run — even when all source file headers were already correct. This triggered spurious pre-commit hook failures with "files were modified by this hook" when nothing should have changed. addlicense.Run now correctly reports whether it actually wrote any files, and the LICENSE update is gated on that signal.

  • Ignored directories are now skipped in a single step (#225)
    Patterns in header_ignore (e.g. .venv/**, vendor/**) were previously only checked against files — the walk still descended into every directory unconditionally, visiting each file before discarding it. For directories with thousands of files this caused significant slowdowns. The walk now checks each directory against ignore patterns and returns filepath.SkipDir immediately, pruning the entire subtree regardless of how many files are inside.

Full Changelog

hashicorp/copywrite@v0.25.2...v0.25.3

Commits
  • b3e6599 fix: skip ignored directories early during file walk (#225)
  • f558415 fix: LICENSE file no longer updated on every run when no headers changed (#224)
  • a3688dd [chore] : Bump actions/upload-artifact from 6.0.0 to 7.0.1 (#218)
  • 6c09892 [chore] : Bump github.com/mattn/go-isatty from 0.0.20 to 0.0.21 (#219)
  • 04fdad9 bump konaf pkg 1.5.0 > 2.3.4 (#215)
  • 9c2be07 [chore] : Bump actions/setup-go from 6.2.0 to 6.4.0 (#216)
  • 55932f7 [chore] : Bump github.com/jedib0t/go-pretty/v6 from 6.7.8 to 6.7.9 (#217)
  • 24ca005 [chore] : Bump golang.org/x/sync from 0.19.0 to 0.20.0 (#212)
  • See full diff in compare view

@dependabot dependabot Bot added dependencies go Pull requests that update Go code labels Apr 30, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 30, 2026 00:21
@dependabot dependabot Bot added dependencies go Pull requests that update Go code labels Apr 30, 2026
@rainkwan
Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [github.com/hashicorp/copywrite](https://github.com/hashicorp/copywrite) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/hashicorp/copywrite/releases)
- [Commits](hashicorp/copywrite@v0.25.2...v0.25.3)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/copywrite
  dependency-version: 0.25.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.3 branch from df88551 to 4109d9b Compare May 14, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies go Pull requests that update Go code size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant