From 07842d2bba0f1617cf7b3a3514be7ff86375132c Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Mon, 15 Nov 2021 17:39:14 +0200 Subject: [PATCH] Handle code review feedback. Signed-off-by: Oleksandr Andriienko --- .github/workflows/automation-check.yml | 4 +--- ambient.d.ts | 13 ------------- license-header.txt => hack/license-header.txt | 0 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 ambient.d.ts rename license-header.txt => hack/license-header.txt (100%) diff --git a/.github/workflows/automation-check.yml b/.github/workflows/automation-check.yml index 4905c68b7..250cb8224 100644 --- a/.github/workflows/automation-check.yml +++ b/.github/workflows/automation-check.yml @@ -44,7 +44,6 @@ jobs: run: | export GO111MODULE=on go get -u github.com/che-incubator/check-license-header@379ba18fdb906d341ae451ea155cc34f1c4b4f1a - go get -u github.com/google/addlicense@99ebc9c9db7bceb8623073e894533b978d7b7c8a echo "[INFO] Check license headers." FILES_TO_CHECK_LICENSE=$(find . \ -not -path "./tmp/*" \ @@ -54,7 +53,6 @@ jobs: -not -path "./lib/*" \ \( -name "*.ts" -o -name "*.yaml" -o -name "*.yml" -o -name "*.sh" \)) - LICENSE_TEMPLATE="${GITHUB_WORKSPACE}/license-header.txt" + LICENSE_TEMPLATE="${GITHUB_WORKSPACE}/hack/license-header.txt" - addlicense --check -f "${LICENSE_TEMPLATE}" ${FILES_TO_CHECK_LICENSE} check-license-header -f "${LICENSE_TEMPLATE}" ${FILES_TO_CHECK_LICENSE} diff --git a/ambient.d.ts b/ambient.d.ts deleted file mode 100644 index e939fa1af..000000000 --- a/ambient.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright (c) 2019-2021 Red Hat, Inc. - * This program and the accompanying materials are made - * available under the terms of the Eclipse Public License 2.0 - * which is available at https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Red Hat, Inc. - initial API and implementation - */ - -declare module 'Listr' diff --git a/license-header.txt b/hack/license-header.txt similarity index 100% rename from license-header.txt rename to hack/license-header.txt