You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checkpatch action will posting comments for error/warning result to the PR conversation.
46
+
47
+
### Pull Request from forked repository
48
+
49
+
The Github action has a limitation that doesn't have write permission for PR from forked repository. So the action cannot write a comment to the PR.
50
+
51
+
.github/workflows/main.yml
52
+
53
+
```yml
54
+
name: checkpatch review
55
+
on: [pull_request]
56
+
jobs:
57
+
my_review:
58
+
name: checkpatch review
59
+
runs-on: ubuntu-latest
60
+
steps:
61
+
- uses: actions/checkout@v1
62
+
- name: Run checkpatch review
63
+
uses: webispy/checkpatch-action@master
64
+
```
65
+
66
+
You can find the error/waring result from Github action console log.
67
+
68
+
# License
69
+
70
+
Since the `checkpatch.pl` file is a script in the Linux kernel source tree, you must follow the [GPL-2.0](https://github.com/torvalds/linux/blob/master/COPYING) license, which is your kernel license.
0 commit comments