You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
checkpatch.pl PR review
v6
The checkpatch.pl
is a perl script to verify that your code conforms to the Linux kernel coding style. This project uses checkpatch.pl
to automatically review and leave comments on pull requests.
.github/workflows/main.yml
name: checkpatch review
on: [pull_request]
jobs:
my_review:
name: checkpatch review
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run checkpatch review
uses: webispy/checkpatch-action@master
Due to the above limitations, you can check the comments directly in the console log.
Following files are used to this project.
- https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl
- https://raw.githubusercontent.com/torvalds/linux/master/scripts/spelling.txt
From zephyr project:
You can find the Dockerfile from docker branch of this repository.
Since the checkpatch.pl
file is a script in the Linux kernel source tree, you must follow the GPL-2.0 license, which is your kernel license.