From ec8c056e039b68d955f9daad732606becbbe5fca Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 26 Nov 2024 18:06:00 +0530 Subject: [PATCH 01/18] added license check action --- .github/workflows/common-workflows.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index 05e4e07..e72d0c6 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -15,3 +15,8 @@ jobs: common: name: Quality Checks uses: dell/common-github-actions/.github/workflows/go-common.yml@main + + check-license-header: + name: Check License Header + uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation + \ No newline at end of file From cc93a9aa5220a79ad8cd10c4597474e03d8d4501 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 26 Nov 2024 18:16:09 +0530 Subject: [PATCH 02/18] new branch for action testing --- gofsutil_mount_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gofsutil_mount_windows.go b/gofsutil_mount_windows.go index c5691ce..8dd4609 100644 --- a/gofsutil_mount_windows.go +++ b/gofsutil_mount_windows.go @@ -12,6 +12,7 @@ package gofsutil +// test package import ( "context" "errors" From 5f97c1223cab1c1565b7b7117e36217368a0d32a Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 26 Nov 2024 18:49:13 +0530 Subject: [PATCH 03/18] added license config --- .licenserc.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .licenserc.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 0000000..a57c511 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,14 @@ +header: + license: + text: | + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + paths-ignore: + - 'dist' + - 'licenses' + - '**/*.md' + - 'LICENSE' + - 'NOTICE' + - '.github' + comment: on-failure From 820a6a6b9b6c5044682772460ed4ec4f3f560f71 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:39:33 +0530 Subject: [PATCH 04/18] header update --- gofsutil_fs.go | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/gofsutil_fs.go b/gofsutil_fs.go index 88a4667..7d2788a 100644 --- a/gofsutil_fs.go +++ b/gofsutil_fs.go @@ -1,14 +1,6 @@ -// Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. +// Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. +// Other trademarks may be trademarks of their respective owners. package gofsutil From 0b452472793b003cb3b2f111d91bc0e3b637640d Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:44:20 +0530 Subject: [PATCH 05/18] config update --- .licenserc.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.licenserc.yaml b/.licenserc.yaml index a57c511..b3f6070 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -1,5 +1,7 @@ header: license: + spdx-id: Apache-2.0 + copyright-owner: Dell Technologies text: | Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. @@ -12,3 +14,7 @@ header: - 'NOTICE' - '.github' comment: on-failure + dependency: + files: + - go.mod # If this is a Go project. + From acdb3ba62986b6a28f060d544ae598b0c0f2ae2d Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:47:16 +0530 Subject: [PATCH 06/18] conf update --- .licenserc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.licenserc.yaml b/.licenserc.yaml index b3f6070..cb88459 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -13,6 +13,10 @@ header: - 'LICENSE' - 'NOTICE' - '.github' + - '.gitignore' + - 'go.mod' + - 'go.sum' + - '.licenserc.yaml' comment: on-failure dependency: files: From decf8f44120e6472c6785acdd4c49369e8ff7b23 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:48:47 +0530 Subject: [PATCH 07/18] conf update --- .licenserc.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index cb88459..431e1f9 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -3,9 +3,9 @@ header: spdx-id: Apache-2.0 copyright-owner: Dell Technologies text: | - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. + // Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + // Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + // Other trademarks may be trademarks of their respective owners. paths-ignore: - 'dist' - 'licenses' From a70fd5a6c96f59ee8dcb6a6cd5ef57a63b317ea9 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:53:48 +0530 Subject: [PATCH 08/18] config update --- .licenserc.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 431e1f9..c8092db 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -2,10 +2,14 @@ header: license: spdx-id: Apache-2.0 copyright-owner: Dell Technologies - text: | - // Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - // Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - // Other trademarks may be trademarks of their respective owners. + content: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + pattern: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. paths-ignore: - 'dist' - 'licenses' From c4a1b33249aab556365a6c70d2e67b386fc359e3 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 27 Nov 2024 17:57:34 +0530 Subject: [PATCH 09/18] commit check --- gofsutil_mount_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gofsutil_mount_windows.go b/gofsutil_mount_windows.go index 8dd4609..d14d479 100644 --- a/gofsutil_mount_windows.go +++ b/gofsutil_mount_windows.go @@ -22,7 +22,7 @@ import ( var info []Info func (fs *FS) getDiskFormat(ctx context.Context, disk string) (string, error) { - return "", errors.New("not implemented") + return "", errors.New("not implemented,wait") } func (fs *FS) formatAndMount(ctx context.Context, source, target, fsType string, opts ...string) error { From 4174c7e7bdbfcff86facfc26bbe50e7bd12ebb77 Mon Sep 17 00:00:00 2001 From: License Bot Date: Wed, 27 Nov 2024 12:28:14 +0000 Subject: [PATCH 10/18] Automatic application of license header --- gofsutil.go | 2 ++ gofsutil_doc.go | 2 ++ gofsutil_mock.go | 2 ++ gofsutil_mount.go | 2 ++ gofsutil_mount_darwin.go | 2 ++ gofsutil_mount_linux.go | 2 ++ gofsutil_mount_scanentry_test.go | 2 ++ gofsutil_mount_test.go | 2 ++ gofsutil_mount_unix.go | 2 ++ gofsutil_mount_windows.go | 2 ++ gofsutil_removeduplicates.go | 2 ++ gofsutil_removeduplicates_test.go | 2 ++ gofsutil_unix_test.go | 2 ++ gofsutil_utils.go | 2 ++ gofsutil_utils_test.go | 2 ++ 15 files changed, 30 insertions(+) diff --git a/gofsutil.go b/gofsutil.go index ed58e92..aadaebc 100644 --- a/gofsutil.go +++ b/gofsutil.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_doc.go b/gofsutil_doc.go index 88fd1e1..320f43a 100644 --- a/gofsutil_doc.go +++ b/gofsutil_doc.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mock.go b/gofsutil_mock.go index ec6ca25..d6a3492 100644 --- a/gofsutil_mock.go +++ b/gofsutil_mock.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount.go b/gofsutil_mount.go index 55602da..6f61396 100644 --- a/gofsutil_mount.go +++ b/gofsutil_mount.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount_darwin.go b/gofsutil_mount_darwin.go index f833dff..9d8e951 100644 --- a/gofsutil_mount_darwin.go +++ b/gofsutil_mount_darwin.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount_linux.go b/gofsutil_mount_linux.go index c45f9e3..45fae5e 100644 --- a/gofsutil_mount_linux.go +++ b/gofsutil_mount_linux.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount_scanentry_test.go b/gofsutil_mount_scanentry_test.go index b23e1fd..35380c6 100644 --- a/gofsutil_mount_scanentry_test.go +++ b/gofsutil_mount_scanentry_test.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount_test.go b/gofsutil_mount_test.go index 2b7b907..24a24b6 100644 --- a/gofsutil_mount_test.go +++ b/gofsutil_mount_test.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_mount_unix.go b/gofsutil_mount_unix.go index 4b4f116..e064898 100644 --- a/gofsutil_mount_unix.go +++ b/gofsutil_mount_unix.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + //go:build linux || darwin // +build linux darwin diff --git a/gofsutil_mount_windows.go b/gofsutil_mount_windows.go index d14d479..fc39471 100644 --- a/gofsutil_mount_windows.go +++ b/gofsutil_mount_windows.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_removeduplicates.go b/gofsutil_removeduplicates.go index d1d83eb..82f234e 100644 --- a/gofsutil_removeduplicates.go +++ b/gofsutil_removeduplicates.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_removeduplicates_test.go b/gofsutil_removeduplicates_test.go index 495c887..4702722 100644 --- a/gofsutil_removeduplicates_test.go +++ b/gofsutil_removeduplicates_test.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_unix_test.go b/gofsutil_unix_test.go index 57ba131..d5b82f2 100644 --- a/gofsutil_unix_test.go +++ b/gofsutil_unix_test.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + //go:build linux || darwin // +build linux darwin diff --git a/gofsutil_utils.go b/gofsutil_utils.go index f9515ba..73f9be5 100644 --- a/gofsutil_utils.go +++ b/gofsutil_utils.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/gofsutil_utils_test.go b/gofsutil_utils_test.go index 4032be4..438d5d6 100644 --- a/gofsutil_utils_test.go +++ b/gofsutil_utils_test.go @@ -1,3 +1,5 @@ +// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. + // Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); From 0d3911931a57980085ce808dfc6c9f955a832a54 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:11:43 +0000 Subject: [PATCH 11/18] action update --- .github/workflows/common-workflows.yaml | 2 ++ .licenserc.yaml | 28 ------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .licenserc.yaml diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index e72d0c6..37e1182 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -19,4 +19,6 @@ jobs: check-license-header: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation + with: + config: dell/common-github-actions/.github/configs/.licenserc.yaml@feature/license-validation \ No newline at end of file diff --git a/.licenserc.yaml b/.licenserc.yaml deleted file mode 100644 index c8092db..0000000 --- a/.licenserc.yaml +++ /dev/null @@ -1,28 +0,0 @@ -header: - license: - spdx-id: Apache-2.0 - copyright-owner: Dell Technologies - content: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. - pattern: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. - paths-ignore: - - 'dist' - - 'licenses' - - '**/*.md' - - 'LICENSE' - - 'NOTICE' - - '.github' - - '.gitignore' - - 'go.mod' - - 'go.sum' - - '.licenserc.yaml' - comment: on-failure - dependency: - files: - - go.mod # If this is a Go project. - From 02760ecff6bb18932849da3b5d46354f6fa8cccd Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:13:56 +0000 Subject: [PATCH 12/18] updated input --- .github/workflows/common-workflows.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index 37e1182..9360fc4 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -1,12 +1,11 @@ name: Common Workflows -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: branches: [main] pull_request: branches: ["**"] jobs: - # golang static analysis checks go-static-analysis: uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main @@ -20,5 +19,4 @@ jobs: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation with: - config: dell/common-github-actions/.github/configs/.licenserc.yaml@feature/license-validation - \ No newline at end of file + config-path: dell/common-github-actions/.github/configs/.licenserc.yaml@feature/license-validation From e2a9a78d3b8aa630b223f5bb36405b8320aeea58 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:18:41 +0000 Subject: [PATCH 13/18] config update --- .github/workflows/common-workflows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index 9360fc4..a9c66ba 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -19,4 +19,4 @@ jobs: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation with: - config-path: dell/common-github-actions/.github/configs/.licenserc.yaml@feature/license-validation + config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml From f0c544a6bd9adebe3918202bdd92e6cc9ebaf610 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:26:09 +0000 Subject: [PATCH 14/18] l --- .github/workflows/common-workflows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index a9c66ba..049155d 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -19,4 +19,4 @@ jobs: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation with: - config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml + config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml # yamllint disable-line rule:truthy From dfc5ec4a17e73d04177549670760d6c418f125c8 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:29:02 +0000 Subject: [PATCH 15/18] df --- .github/workflows/common-workflows.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index 049155d..a9c66ba 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -19,4 +19,4 @@ jobs: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation with: - config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml # yamllint disable-line rule:truthy + config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml From 1322a074956638cf92d7aaafdb25d0393cbcbbf8 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 14:57:09 +0000 Subject: [PATCH 16/18] removed config path --- .github/workflows/common-workflows.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/common-workflows.yaml b/.github/workflows/common-workflows.yaml index a9c66ba..f156aa2 100644 --- a/.github/workflows/common-workflows.yaml +++ b/.github/workflows/common-workflows.yaml @@ -18,5 +18,3 @@ jobs: check-license-header: name: Check License Header uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation - with: - config-path: ./dell/common-github-actions/.github/configs/.licenserc.yaml From 9ebfd2cde9e3e97fccef7b481087430f66414526 Mon Sep 17 00:00:00 2001 From: License Bot Date: Fri, 4 Apr 2025 15:19:42 +0000 Subject: [PATCH 17/18] Automatic application of license header --- .licenserc.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .licenserc.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 0000000..2bc9405 --- /dev/null +++ b/.licenserc.yaml @@ -0,0 +1,28 @@ +header: + license: + spdx-id: Apache-2.0 + copyright-owner: Dell Technologies + content: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + pattern: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + paths-ignore: + - 'dist' + - 'licenses' + - '**/*.md' + - 'LICENSE' + - 'NOTICE' + - '.github' + - '.gitignore' + - 'go.mod' + - 'go.sum' + - '.licenserc.yaml' + - '.git' + comment: on-failure + dependency: + files: + - go.mod # If this is a Go project. From a511dcf47954e99e66ed56ba58e1b92ac3e9e543 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 4 Apr 2025 15:32:42 +0000 Subject: [PATCH 18/18] removed --- .licenserc.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .licenserc.yaml diff --git a/.licenserc.yaml b/.licenserc.yaml deleted file mode 100644 index 2bc9405..0000000 --- a/.licenserc.yaml +++ /dev/null @@ -1,28 +0,0 @@ -header: - license: - spdx-id: Apache-2.0 - copyright-owner: Dell Technologies - content: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. - pattern: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. - paths-ignore: - - 'dist' - - 'licenses' - - '**/*.md' - - 'LICENSE' - - 'NOTICE' - - '.github' - - '.gitignore' - - 'go.mod' - - 'go.sum' - - '.licenserc.yaml' - - '.git' - comment: on-failure - dependency: - files: - - go.mod # If this is a Go project.