Add license banner checker for .c/.h files#177
Merged
Conversation
aae3647 to
6eeabe0
Compare
Closed
11 tasks
casaroli
reviewed
Feb 20, 2026
| @@ -0,0 +1,58 @@ | |||
| #!/bin/sh | |||
Contributor
There was a problem hiding this comment.
I think this file should be named check_license_banner_c.sh, because we will have other scripts for other types, but I guess we can rename it in next PRs.
casaroli
approved these changes
Feb 20, 2026
casaroli
reviewed
Feb 20, 2026
| - name: Run YAML Format Checks | ||
| run: sh scripts/yml_linter.sh | ||
|
|
||
| - name: Run Banner License Checks |
Contributor
There was a problem hiding this comment.
Suggested change
| - name: Run Banner License Checks | |
| - name: License Banner Checks |
casaroli
previously approved these changes
Feb 20, 2026
Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
c05d8b5 to
742584f
Compare
casaroli
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added a script for check license banner for all .c/.h files and add it to the CI workflow.
Type of change
How Has This Been Tested?
Intentionally introduced errors in the license banner text to ensure the script detects them as expected
Checklist: