Skip to content

build(deps): bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools#286

Merged
rainkwan merged 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.2
Mar 30, 2026
Merged

build(deps): bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools#286
rainkwan merged 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2026

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

Release notes

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

v0.25.2

What's Changed

New Features

  • ignore_year1 config option (#213): Added a new project.ignore_year1 boolean flag in .copywrite.hcl. When set to true, the tool skips updating the start year in existing copyright headers, preserving historically accurate start years (e.g. 2015) even when they differ from copyright_year in config. End-year logic is unaffected — files modified after their copyright end year still get the end year bumped to current year. New files with no copyright header are also unaffected and always receive the config year as the start year.

    project {
      copyright_year = 2024
    Preserve original start years in existing headers
    ignore_year1 = true
    }

Bug Fixes

  • Removed unused ignore_year2 references from config, CLI, init template, and README.

Documentation

  • README updated with ignore_year1 behaviour for both source file headers and LICENSE files.
  • Init template updated to include ignore_year1 as a commented-out option.
Commits
  • ffab25f Skip symlinks in file walk to avoid broken-symlink crashes (#214)
  • 376a04c Feat/ignore year1 header behavior (#213)
  • 898e9c9 [chore] : Bump github.com/cli/go-gh/v2 from 2.12.2 to 2.13.0 (#200)
  • efad91d [chore] : Bump github.com/jedib0t/go-pretty/v6 from 6.6.8 to 6.7.8 (#199)
  • 9b9bd97 [chore] : Bump github.com/bradleyfalzon/ghinstallation/v2 (#209)
  • a45fccc [chore] : Bump github.com/spf13/cobra from 1.10.1 to 1.10.2 (#210)
  • 202ea22 [chore] : Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#208)
  • d42ef3a [chore] : Bump golang.org/x/oauth2 from 0.30.0 to 0.36.0 (#206)
  • 370c1fb [chore] : Bump github.com/bmatcuk/doublestar/v4 from 4.6.0 to 4.10.0 (#205)
  • 1becb7b [chore] : Bump github.com/samber/lo from 1.51.0 to 1.53.0 (#207)
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 24, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 24, 2026 10:33
@dependabot dependabot bot added the go Pull requests that update Go code label Mar 24, 2026
@rainkwan
Copy link
Copy Markdown
Contributor

@dependabot recreate

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

---
updated-dependencies:
- dependency-name: github.com/hashicorp/copywrite
  dependency-version: 0.25.2
  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.2 branch from c0b6793 to 204ae03 Compare March 30, 2026 14:55
Copy link
Copy Markdown
Contributor

@rainkwan rainkwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏽

@rainkwan rainkwan merged commit 3332a7c into main Mar 30, 2026
2 checks passed
@rainkwan rainkwan deleted the dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.2 branch March 30, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant