Skip to content

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

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.2
Open

build(deps): bump github.com/hashicorp/copywrite from 0.25.1 to 0.25.2 in /tools#335
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 25, 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 25, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 25, 2026 00:43
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 25, 2026
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.

0 participants