Skip to content

Commit a16a471

Browse files
committed
Add a test case for missing licenses
1 parent 0f91dd0 commit a16a471

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/scripts/check-license-header.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dynamic_exclude_list=( )
4646

4747
if [[ -f .licenseignore ]]; then
4848
static_exclude_list+=( '":(exclude).licenseignore"' )
49-
readarray -t dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)"
49+
#readarray -t dynamic_exclude_list <<< "$(sed -E 's/^(.*)$/":(exclude)\1"/' <.licenseignore)"
5050
fi
5151

5252
exclude_list=( "${static_exclude_list[@]}" "${dynamic_exclude_list[@]}" )

tests/no-license.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Look, no license
2+
{}

0 commit comments

Comments
 (0)