Skip to content
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

Update checkpatch to run only when kernel files are touched #389

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

Joshua-Dickens
Copy link
Member

A quick update to only run checkpatch when kernel files are touched so it is only run when we actually need it.

Copy link
Member

@jigpu jigpu left a comment

Choose a reason for hiding this comment

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

Just one minor nit: Would request a description of why this commit was written / how it improves things. I'd normally also ask for a sign-off line, but know that it's intentional to "prove" that checkpatch isn't running.

Updating the checkpatch github action so that it only runs when we
modify kernel related files (ex: Anything in 3.17/4.5 sub directories).

This change keeps the tests run during a PR cleaner by only running
when it is most relevant for code styling/commit messages that are
relevant to keeping style parity with upstream, while ignoring
irrelevant changes to files that aren't upstream (such as this one).
@jigpu
Copy link
Member

jigpu commented Aug 31, 2023

Thanks! LGTM

@jigpu jigpu merged commit 950f0f1 into linuxwacom:master Aug 31, 2023
9 checks passed
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.

2 participants