From 8b8775ef1e2bf3cbbc239be4274a2b84e54304d2 Mon Sep 17 00:00:00 2001 From: Hitensh Kharva <56474017+hitenshKharva@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:54:27 -0700 Subject: [PATCH] Updated license header checker to Deno License Checker (#4118) Signed-off-by: Hitensh Kharva --- .github/workflows/license-header-checker.yml | 2 +- .licenserc.json | 39 +++++++++++++++++--- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/.github/workflows/license-header-checker.yml b/.github/workflows/license-header-checker.yml index 1f30b4e2fe..d026f0b47b 100644 --- a/.github/workflows/license-header-checker.yml +++ b/.github/workflows/license-header-checker.yml @@ -9,4 +9,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Add License Header - uses: kt3k/license_checker@v1.0.6 + run: npx @kt3k/license-checker diff --git a/.licenserc.json b/.licenserc.json index 1bd48e84e9..a29865e4c4 100644 --- a/.licenserc.json +++ b/.licenserc.json @@ -1,6 +1,35 @@ -{ -"**/*.{py,groovy,sh,js,ts}":[ - " Copyright OpenSearch Contributors", - " SPDX-License-Identifier: Apache-2.0" -] +{ + "**/*.*": [ + " Copyright OpenSearch Contributors", + " SPDX-License-Identifier: Apache-2.0" + ], + "ignore": [ + ".md", + ".flake8", + ".yml", + ".yaml", + ".bat", + ".json", + ".txt", + ".config", + ".swp", + "tests/tests_test_workflow/test_integ_workflow/integ_test/data/artifacts/", + "tests/tests_sign_workflow/data/signature/", + "tests/tests_assemble_workflow/data/artifacts/", + ".png", + "settings.gradle", + ".git", + ".lychee.excludes", + ".whitesource", + ".shellcheckrc", + ".lock", + ".gradle", + ".cert", + ".key", + ".jar", + ".gz", + ".toml", + ".ini", + "gradle/wrapper" + ] }