Skip to content

Commit 0345a20

Browse files
authored
incorporate updates from common (#255)
* incorporate updates from common * empty commit to rerun check
1 parent 6b4a3d0 commit 0345a20

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/scripts/kernel_checker.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ def main():
8383
checker.ignoreFile(*KERNEL_IGNORED_FILES)
8484
checker.ignoreFile(os.path.split(__file__)[-1])
8585

86-
return checker.processArgs(args)
86+
rc = checker.processArgs(args)
87+
if rc:
88+
checker.showHelp(__file__)
89+
90+
return rc
8791

8892
if __name__ == '__main__':
8993
exit(main())

.github/workflows/kernel-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Check File Headers
4242
run: |
4343
mv tools/.github/scripts/common inspect/.github/scripts
44+
pip install -r inspect/.github/scripts/common/requirements.txt
4445
cd inspect
4546
.github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
4647
exit $?
47-

0 commit comments

Comments
 (0)