We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bb672f + 81da98b commit ad123a9Copy full SHA for ad123a9
.checkpatch.conf
@@ -0,0 +1,4 @@
1
+--no-tree
2
+--strict
3
+--ignore FILE_PATH_CHANGES
4
+--ignore EMAIL_SUBJECT
.github/workflows/checkpatch.yml
@@ -0,0 +1,15 @@
+name: Checkpatch Review
+on: [pull_request]
+jobs:
+ check-patch:
5
+ name: checkpatch review
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: 'Calculate PR commits + 1'
9
+ run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
10
+ - uses: actions/checkout@v3
11
+ with:
12
+ ref: ${{ github.event.pull_request.head.sha }}
13
+ fetch-depth: ${{ env.PR_FETCH_DEPTH }}
14
+ - name: Run checkpatch review
15
+ uses: webispy/checkpatch-action@v9
0 commit comments