Skip to content

Commit

Permalink
ci: add license checker github action
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Meis <[email protected]>
  • Loading branch information
ChriMarMe authored and jensdrenhaus committed Oct 8, 2024
1 parent a7748ed commit 9ad7e6f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ jobs:

- name: Run Tests
run: go test -v ./...

check-license-lines:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check License Lines
uses: kt3k/[email protected]
12 changes: 12 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"**/*.go": [
"// Copyright 2024 Blindspot Software",
"// Use of this source code is governed by a BSD-style",
"// license that can be found in the LICENSE file."
],

"ignore": [
"protobuf/gen/",
"vendor/"
]
}

0 comments on commit 9ad7e6f

Please sign in to comment.