Skip to content

workflow: setup checkpatch workflow #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2022
Merged

Conversation

DhruvaG2000
Copy link
Collaborator

Sets up a workflow that will take care of code formatting in PRs

@DhruvaG2000 DhruvaG2000 self-assigned this Sep 24, 2022
@DhruvaG2000 DhruvaG2000 force-pushed the DhruvaG2000-chkpatchpl branch from 5dbb422 to 882bca3 Compare September 24, 2022 10:49
@DhruvaG2000 DhruvaG2000 added the enhancement New feature or request label Sep 24, 2022
@DhruvaG2000 DhruvaG2000 force-pushed the DhruvaG2000-chkpatchpl branch 2 times, most recently from 19aa6f2 to 882bca3 Compare September 24, 2022 10:58
Copy link
Collaborator

@beriberikix beriberikix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated against different repo!

@DhruvaG2000 DhruvaG2000 force-pushed the DhruvaG2000-chkpatchpl branch from 882bca3 to 9afe853 Compare September 24, 2022 16:47
* Sets up a workflow that will take care of code formatting in PRs
* Create license_config.yml
* Create license_check.yml

taken from zephyrproject upstream

Signed-off-by: Dhruva Gole <[email protected]>
@DhruvaG2000 DhruvaG2000 force-pushed the DhruvaG2000-chkpatchpl branch from 9afe853 to fd00656 Compare September 24, 2022 17:00
@DhruvaG2000
Copy link
Collaborator Author

FYI, forced push after approval changes:

diff --git a/.checkpatch.conf b/.checkpatch.conf
new file mode 100644
index 0000000..57de7eb
--- /dev/null
+++ b/.checkpatch.conf
@@ -0,0 +1,8 @@
+# This isn't actually a Linux kernel tree
+--no-tree
+
+--ignore FILE_PATH_CHANGES
+--ignore COMPLEX_MACRO
+--ignore NEW_TYPEDEFS
+--ignore CONST_STRUCT
+--ignore SPDX_LICENSE_TAG

@DhruvaG2000 DhruvaG2000 merged commit 79f64e8 into main Sep 24, 2022
@DhruvaG2000 DhruvaG2000 deleted the DhruvaG2000-chkpatchpl branch September 24, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants