This is an automated email from the ASF dual-hosted git repository.
weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push:
new dfbc2a5 chore: run docs CI on ubuntu-latest and separate license
check to individual CI (#449)
dfbc2a5 is described below
commit dfbc2a5a72164dd79cb8626337b026f4f0f5526e
Author: Weibin Zeng <[email protected]>
AuthorDate: Thu Apr 11 16:54:59 2024 +0800
chore: run docs CI on ubuntu-latest and separate license check to
individual CI (#449)
* chore: run docs ci on ubuntu-latest and seperate license check to
individual CI
Signed-off-by: acezen <[email protected]>
* Add licese check CI
Signed-off-by: acezen <[email protected]>
---------
Signed-off-by: acezen <[email protected]>
---
.github/workflows/docs.yml | 13 +-----------
.github/workflows/license.yml | 48 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 1d7c1b2..ec29660 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -24,8 +24,6 @@ on:
pull_request:
branches:
- main
- - docs
- - dev/docs
concurrency:
group: ${{ github.repository }}-${{ github.event.number || github.head_ref
|| github.sha }}-${{ github.workflow }}
@@ -33,10 +31,7 @@ concurrency:
jobs:
build:
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ubuntu-20.04]
+ runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
@@ -50,12 +45,6 @@ jobs:
submodules: true
fetch-depth: 0
- - name: Check License Header
- uses: apache/skywalking-eyes/header@main
- with:
- config: .licenserc.yaml
- mode: check
-
- name: Install Python
uses: actions/setup-python@v4
with:
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
new file mode 100644
index 0000000..ab2dea7
--- /dev/null
+++ b/.github/workflows/license.yml
@@ -0,0 +1,48 @@
+# 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: license
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+concurrency:
+ group: ${{ github.repository }}-${{ github.event.number || github.head_ref
|| github.sha }}-${{ github.workflow }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+
+ - uses: actions/checkout@v4
+ with:
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
+ ref: ${{ github.event.pull_request.head.ref }}
+ submodules: false
+ fetch-depth: 0
+
+ - name: Check License Header
+ uses: apache/skywalking-eyes/header@main
+ with:
+ config: .licenserc.yaml
+ mode: check
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]