From 82601a69b3db016301ba7f6ddca075eb7f65ee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=A1=95?= Date: Wed, 8 Apr 2026 23:01:59 +0800 Subject: [PATCH] chore: add missing license headers Change-Id: Ic26bedcbb111331eb53d695fccdabd0907a6272f --- cmd/auth/login_result.go | 3 +++ cmd/auth/login_scope_cache.go | 3 +++ cmd/auth/login_scope_cache_test.go | 3 +++ cmd/auth/login_strict_test.go | 3 +++ extension/credential/env/env_test.go | 3 +++ extension/credential/registry_test.go | 3 +++ internal/credential/credential_provider_test.go | 3 +++ internal/credential/default_provider_test.go | 3 +++ internal/credential/integration_test.go | 3 +++ internal/credential/types.go | 3 +++ internal/credential/types_test.go | 3 +++ internal/keychain/auth_log_test.go | 3 +++ internal/keychain/keychain_darwin_test.go | 3 +++ internal/keychain/keychain_other_test.go | 3 +++ internal/vfs/default.go | 3 +++ internal/vfs/fs.go | 3 +++ internal/vfs/osfs.go | 3 +++ internal/vfs/osfs_test.go | 3 +++ scripts/issue-labels/index.js | 3 +++ scripts/issue-labels/test.js | 3 +++ 20 files changed, 60 insertions(+) diff --git a/cmd/auth/login_result.go b/cmd/auth/login_result.go index ef288d45ee..0d1a3b46c4 100644 --- a/cmd/auth/login_result.go +++ b/cmd/auth/login_result.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package auth import ( diff --git a/cmd/auth/login_scope_cache.go b/cmd/auth/login_scope_cache.go index 2549c0e35f..ad8036bdaa 100644 --- a/cmd/auth/login_scope_cache.go +++ b/cmd/auth/login_scope_cache.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package auth import ( diff --git a/cmd/auth/login_scope_cache_test.go b/cmd/auth/login_scope_cache_test.go index 4d0bea91c9..b2cc1bba0d 100644 --- a/cmd/auth/login_scope_cache_test.go +++ b/cmd/auth/login_scope_cache_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package auth import ( diff --git a/cmd/auth/login_strict_test.go b/cmd/auth/login_strict_test.go index 82621d556e..206929bbaf 100644 --- a/cmd/auth/login_strict_test.go +++ b/cmd/auth/login_strict_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package auth import ( diff --git a/extension/credential/env/env_test.go b/extension/credential/env/env_test.go index 8b7af93f0e..2fbc7c9e16 100644 --- a/extension/credential/env/env_test.go +++ b/extension/credential/env/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package env import ( diff --git a/extension/credential/registry_test.go b/extension/credential/registry_test.go index 1c394f514a..e4ab0885b1 100644 --- a/extension/credential/registry_test.go +++ b/extension/credential/registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential import ( diff --git a/internal/credential/credential_provider_test.go b/internal/credential/credential_provider_test.go index aedb3d8099..509e83a7da 100644 --- a/internal/credential/credential_provider_test.go +++ b/internal/credential/credential_provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential import ( diff --git a/internal/credential/default_provider_test.go b/internal/credential/default_provider_test.go index f1c081cca9..5aa2584991 100644 --- a/internal/credential/default_provider_test.go +++ b/internal/credential/default_provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential import ( diff --git a/internal/credential/integration_test.go b/internal/credential/integration_test.go index f843c987f4..46a3485ff5 100644 --- a/internal/credential/integration_test.go +++ b/internal/credential/integration_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential_test import ( diff --git a/internal/credential/types.go b/internal/credential/types.go index e6b3318300..54620621d4 100644 --- a/internal/credential/types.go +++ b/internal/credential/types.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential import ( diff --git a/internal/credential/types_test.go b/internal/credential/types_test.go index c8c8ccf558..b4feec7dfb 100644 --- a/internal/credential/types_test.go +++ b/internal/credential/types_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package credential import ( diff --git a/internal/keychain/auth_log_test.go b/internal/keychain/auth_log_test.go index c81fc1ff95..423d2b1cbd 100644 --- a/internal/keychain/auth_log_test.go +++ b/internal/keychain/auth_log_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package keychain import ( diff --git a/internal/keychain/keychain_darwin_test.go b/internal/keychain/keychain_darwin_test.go index 0ae779473e..5dc9ddb9a7 100644 --- a/internal/keychain/keychain_darwin_test.go +++ b/internal/keychain/keychain_darwin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + //go:build darwin package keychain diff --git a/internal/keychain/keychain_other_test.go b/internal/keychain/keychain_other_test.go index a07cd8811c..e89d16e473 100644 --- a/internal/keychain/keychain_other_test.go +++ b/internal/keychain/keychain_other_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + //go:build linux package keychain diff --git a/internal/vfs/default.go b/internal/vfs/default.go index 5b0148c21c..78b4d91a71 100644 --- a/internal/vfs/default.go +++ b/internal/vfs/default.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package vfs import ( diff --git a/internal/vfs/fs.go b/internal/vfs/fs.go index 6ac5acd9b9..acaea3e181 100644 --- a/internal/vfs/fs.go +++ b/internal/vfs/fs.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package vfs import ( diff --git a/internal/vfs/osfs.go b/internal/vfs/osfs.go index 09a2d67373..081801aeda 100644 --- a/internal/vfs/osfs.go +++ b/internal/vfs/osfs.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package vfs import ( diff --git a/internal/vfs/osfs_test.go b/internal/vfs/osfs_test.go index 83dccd1a89..ac6e592b1a 100644 --- a/internal/vfs/osfs_test.go +++ b/internal/vfs/osfs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + package vfs import ( diff --git a/scripts/issue-labels/index.js b/scripts/issue-labels/index.js index f0984faf00..cdeec91b13 100644 --- a/scripts/issue-labels/index.js +++ b/scripts/issue-labels/index.js @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + /* * Issue labeler for this repository. * diff --git a/scripts/issue-labels/test.js b/scripts/issue-labels/test.js index 4be785876a..b28ca47ede 100644 --- a/scripts/issue-labels/test.js +++ b/scripts/issue-labels/test.js @@ -1,3 +1,6 @@ +// Copyright (c) 2026 Lark Technologies Pte. Ltd. +// SPDX-License-Identifier: MIT + const fs = require("fs"); const path = require("path");