Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BagToad
Copy link
Member

@BagToad BagToad commented Nov 6, 2025

Reverts #11370

Our third party license workflow doesn't work because it operates on trying to push to trunk directly, but our rulesets prevent this; something that was overlooked in #11370.

This moves it back to a link check, making it so maintainers need to manually update licenses in dependabot PRs and other PRs that update the go.mod.

@BagToad BagToad requested a review from babakks November 6, 2025 19:08
@BagToad BagToad requested a review from a team as a code owner November 6, 2025 19:08
Copilot AI review requested due to automatic review settings November 6, 2025 19:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR consolidates license checking from an automated generation workflow into the existing lint workflow. Instead of automatically regenerating and committing license files on push to trunk, the PR shifts to a validation-only approach where CI checks that license files are up-to-date and developers must manually regenerate them when needed.

Key changes:

  • Removed automated license regeneration workflow (third-party-licenses.yml)
  • Added license validation to the lint workflow that runs on both pushes and pull requests
  • Added path triggers for license-related files to ensure changes are validated

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/third-party-licenses.yml Removed automated workflow that regenerated and committed license files on push to trunk
.github/workflows/lint.yml Added license validation step and path triggers for license-related files to check licenses are up-to-date

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@babakks babakks left a comment

Choose a reason for hiding this comment

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

Thanks for this! 🙏

Added a comment specifying the installed go-licenses commit corresponds to v2.0.1 for clarity in the lint workflow.
@BagToad BagToad requested a review from Copilot November 7, 2025 16:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BagToad BagToad merged commit 44df793 into trunk Nov 7, 2025
9 checks passed
@BagToad BagToad deleted the kw/revert-11370 branch November 7, 2025 16:41
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