Skip to content

Commit

Permalink
Update checkpatch to run only when kernel files are touched
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Joshua-Dickens committed Aug 31, 2023
1 parent 487f619 commit 79ebd6c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/checkpatch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on: [ pull_request ]
on:
pull_request:
paths:
- '3.17/**'
- '4.5/**'

jobs:
checkpatch:
Expand Down

0 comments on commit 79ebd6c

Please sign in to comment.