Skip to content

Commit

Permalink
ci: include test folder in license check (#1203)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Liu <jasonliu747@gmail.com>
  • Loading branch information
jasonliu747 committed Apr 10, 2023
1 parent f02a02a commit 0c38b28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- main
- release-*
pull_request: { }
workflow_dispatch: { }
pull_request: {}
workflow_dispatch: {}

jobs:
license-check:
Expand All @@ -26,5 +26,5 @@ jobs:
go-version-file: go.mod
- name: Check license header
run: |
make lint-license && git add apis pkg cmd || exit 1
make lint-license && git add apis pkg cmd test || exit 1
git diff --cached --exit-code || (echo 'Please run "make lint-license" to verify license header' && exit 1);

0 comments on commit 0c38b28

Please sign in to comment.