mirror of
https://github.com/lunchcat/sif.git
synced 2026-01-13 13:27:30 -08:00
fix: update readme badges and use banner image
- update badges to point to vmfunc/sif - replace ascii art with banner image - fix header check action to check first 5 lines - remove obsolete LICENSE.md
This commit is contained in:
4
.github/workflows/header-check.yml
vendored
4
.github/workflows/header-check.yml
vendored
@@ -24,8 +24,8 @@ jobs:
|
||||
continue
|
||||
fi
|
||||
|
||||
# check if file starts with the license header
|
||||
if ! head -n 3 "$file" | grep -q "█▀ █ █▀▀"; then
|
||||
# check if file starts with the license header (signature is on line 4)
|
||||
if ! head -n 5 "$file" | grep -q "█▀ █ █▀▀"; then
|
||||
missing_headers+=("$file")
|
||||
fi
|
||||
done < <(find . -name "*.go" -type f -print0)
|
||||
|
||||
Reference in New Issue
Block a user