Skip to content

[pre-commit] Add license header check #9985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2022
Merged

[pre-commit] Add license header check #9985

merged 1 commit into from
May 13, 2022

Conversation

easyCZ
Copy link
Member

@easyCZ easyCZ commented May 12, 2022

Description

Run leeway run components:update-license-header automatically as part of pre-commit to avoid empty CI cycles because license header was omitted.

Related Issue(s)

Fixes #

How to test

Create a new file, git add . and try to commit.
Observe the license header is added.

Release Notes

NONE

Documentation

NONE

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

🧡

@roboquat roboquat merged commit e86dc4a into main May 13, 2022
@roboquat roboquat deleted the mp/pre-commit-license branch May 13, 2022 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants