Ignore lockfiles in check-license workflow#1142
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates documentation links in CONTRIBUTING.md and the pull request template, redirecting users to the official Google Python and TypeScript style guides. The review feedback suggests adding a reference for license header requirements, as the previous link was removed during the transition.
9e91ec4 to
2ee5032
Compare
7463e77 to
03147bc
Compare
03147bc to
4dedb66
Compare
ditman
approved these changes
Apr 17, 2026
Collaborator
ditman
left a comment
There was a problem hiding this comment.
LGTM, thanks for the fix!
Comment on lines
+44
to
+46
| -ignore "**/pnpm-lock.yaml" \ | ||
| -ignore "**/package-lock.json" \ | ||
| -ignore "**/yarn.lock" \ |
Collaborator
There was a problem hiding this comment.
Ah, I wish there was a pattern that we could use here, or an "ignore file" or something!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the
check-licenseworkflow to ignore common lockfiles (pnpm-lock.yaml,package-lock.json,yarn.lock) when checking for license headers.Lockfiles are tool-generated and meant to be regenerated, so they should not be required to have license headers. This fixes failures where
pnpm-lock.yamllacked a license header.Fixes #1136
Pre-launch Checklist