Skip to content

Add files to ignore from copyright updates.#253

Merged
mohanmanikanta2299 merged 1 commit into
mainfrom
ignore_test_files
Jul 3, 2026
Merged

Add files to ignore from copyright updates.#253
mohanmanikanta2299 merged 1 commit into
mainfrom
ignore_test_files

Conversation

@mohanmanikanta2299

Copy link
Copy Markdown
Collaborator

🛠️ Description

Adding test files and copilot instruction files to ignore updates in copyright statements written as test-cases or samples within file body.

🔗 External Links

👍 Definition of Done

  • New functionality works?
  • Tests added?

🤔 Can be merged upon approval?

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@mohanmanikanta2299 mohanmanikanta2299 requested a review from a team as a code owner July 3, 2026 08:03
Copilot AI review requested due to automatic review settings July 3, 2026 08:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the Copywrite project configuration to exclude additional files from automatic copyright/license header updates, preventing unintended modifications in test fixtures/examples and Copilot instruction content.

Changes:

  • Add licensecheck/update_test.go to header_ignore.
  • Add .github/copilot-instructions.md to header_ignore.

Comment thread .copywrite.hcl
"**/testdata/**",
"licensecheck/copyright_test.go",
"licensecheck/update_test.go",
".github/copilot-instructions.md",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Shouldn't md file be ignored by default?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The code might not be handling that correctly right now.
Noting this. Can take this up as a separate PR and do some tests before confirming.

@mohanmanikanta2299 mohanmanikanta2299 merged commit c6510f1 into main Jul 3, 2026
6 checks passed
@mohanmanikanta2299 mohanmanikanta2299 deleted the ignore_test_files branch July 3, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants