summaryrefslogtreecommitdiffstats
path: root/.github/tools
diff options
context:
space:
mode:
authorKinga Stefaniuk <kinga.stefaniuk@intel.com>2024-07-01 16:31:32 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-07-02 12:19:00 +0200
commitdf1d9bddc868085a5f407d44208e57ff6dfd3bdc (patch)
treee14628e129a65ae898e60da0f39298864f8c59f8 /.github/tools
parentmdadm: Fix socket connection failure when mdmon runs in foreground mode. (diff)
downloadmdadm-df1d9bddc868085a5f407d44208e57ff6dfd3bdc.tar.xz
mdadm-df1d9bddc868085a5f407d44208e57ff6dfd3bdc.zip
CI: use prepared checkpatch.conf file only for GH actions
Configuration file .checkpatch.conf is working properly only with GH actions, because flags from GH plugin are used there. This file shall not be placed in main repo directory, because it causes errors while using checkpatch from Linux. Add step to review.yml to copy this file before checkpatch action is started. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Diffstat (limited to '.github/tools')
-rw-r--r--.github/tools/.checkpatch.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/tools/.checkpatch.conf b/.github/tools/.checkpatch.conf
new file mode 100644
index 00000000..d6e3bc44
--- /dev/null
+++ b/.github/tools/.checkpatch.conf
@@ -0,0 +1,10 @@
+--no-tree
+--show-types
+--exclude .github
+--exclude clustermd_tests
+--exclude documentation
+--exclude misc
+--exclude systemd
+--exclude tests
+--ignore FILE_PATH_CHANGES
+--ignore EMAIL_SUBJECT