You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ke...@apache.org on 2023/02/24 09:45:49 UTC

[skywalking-eyes] 01/01: Fix GitHub Actions wrong path

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch fix/gha
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git

commit 91469c381e87c125cd9a98a9d4e82ff6b78d4dac
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Fri Feb 24 17:45:40 2023 +0800

    Fix GitHub Actions wrong path
---
 .github/workflows/gha-check.yaml | 39 +++++++++++++++++++++++++++++++++++++++
 test/.licenserc.yaml             | 23 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/.github/workflows/gha-check.yaml b/.github/workflows/gha-check.yaml
new file mode 100644
index 0000000..3ec54df
--- /dev/null
+++ b/.github/workflows/gha-check.yaml
@@ -0,0 +1,39 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+name: Check GitHub Actions
+
+on:
+  pull_request:
+  push:
+    branches:
+      - main
+
+jobs:
+  check-github-actions:
+    name: Build LicenseEye
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Test Header Action
+        uses: ./header
+        with:
+          config: test/.licenserc.yaml
+      - name: Test Dependency Action
+        uses: ./dependency
+        with:
+          config: test/.licenserc.yaml
diff --git a/test/.licenserc.yaml b/test/.licenserc.yaml
new file mode 100644
index 0000000..f1e6f16
--- /dev/null
+++ b/test/.licenserc.yaml
@@ -0,0 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+header:
+  license:
+    spdx-id: Apache-2.0
+    copyright-owner: Apache Software Foundation
+  paths-ignore:
+    - '**/*'