Hopefully triggering the precommit hook
Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
parent
f1e177fee7
commit
53a185083c
4
hack/check-copyright-year.sh
Normal file → Executable file
4
hack/check-copyright-year.sh
Normal file → Executable file
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Check if copyright statements include the current year
|
# Check if copyright statements include the current year
|
||||||
#
|
#
|
||||||
files=git diff --cached --name-only
|
files=$(git diff --cached --name-only)
|
||||||
year=date +"%Y"
|
year=$(date +"%Y")
|
||||||
|
|
||||||
for f in $files; do
|
for f in $files; do
|
||||||
head -10 $f | grep -i copyright 2>&1 1>/dev/null || continue
|
head -10 $f | grep -i copyright 2>&1 1>/dev/null || continue
|
||||||
|
@ -25,6 +25,7 @@ import (
|
|||||||
"go.pinniped.dev/internal/testutil"
|
"go.pinniped.dev/internal/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// this is a comment
|
||||||
var (
|
var (
|
||||||
owner = &appsv1.Deployment{
|
owner = &appsv1.Deployment{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
|
Loading…
Reference in New Issue
Block a user