Skip to content

Commit f6c6d97

Browse files
authored
Optimize license pattern of license head check (#17)
* ignore case matching Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com> * optimize license pattern Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com> --------- Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com>
1 parent 295509d commit f6c6d97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

license-header-check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
3535
# Get license pattern with year
3636
CURRENT_YEAR=$(date +%Y)
37-
LICENSE_PATTERN="Copyright \(c\) .*?${CURRENT_YEAR}, NVIDIA CORPORATION."
37+
LICENSE_PATTERN="Copyright \(c\) .*?${CURRENT_YEAR},? NVIDIA CORPORATION."
3838
3939
# Format file patterns
4040
IFS="," read -r -a INCLUDE_PATTERNS <<< "$(echo "${{ inputs.included_file_patterns }}" | tr -d ' ' | tr -d '\n')"

0 commit comments

Comments
 (0)