This is an automated email from the ASF dual-hosted git repository.
xiaokang 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 080a2f6f chore: switch CI jobs to use ubuntu-slim instead of
ubuntu-latest (#902)
080a2f6f is described below
commit 080a2f6fe83630be10dcf03fdc25f662521bda56
Author: Jason Yao <[email protected]>
AuthorDate: Tue Mar 10 23:51:43 2026 +0800
chore: switch CI jobs to use ubuntu-slim instead of ubuntu-latest (#902)
* chore: switch CI jobs to use ubuntu-slim instead of ubuntu-latest
* fix(ci): update license-check action to specific version v0.8.0
---
.github/.licenserc.yaml | 64 ++++++++++++++++++++++++++++++++++++++++++
.github/workflows/docs.yml | 2 +-
.github/workflows/license.yml | 20 ++++++++-----
.github/workflows/pr-title.yml | 2 +-
4 files changed, 79 insertions(+), 9 deletions(-)
diff --git a/.github/.licenserc.yaml b/.github/.licenserc.yaml
new file mode 100644
index 00000000..98fb36aa
--- /dev/null
+++ b/.github/.licenserc.yaml
@@ -0,0 +1,64 @@
+# 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:
+ - .
+ excludes:
+ - build/**
+ - .docusaurus/**
+ - "**/*.md"
+ - "**/*.mdx"
+ - docs/.markdownlint.yaml
+ - NOTICE
+ - DISCLAIMER
+ - dist/**
+ - licenses/**
+ - testing/**
+ - spark/graphar/src/test/resources/**
+ - java/src/test/resources/**
+ - .licenserc.yaml
+ - .gitleaks.toml
+ - .gitmodules
+ - pre-commit-config.yaml
+ - "**/.gitignore"
+ - "**/.scalafix.conf"
+ - "**/.scalafmt.conf"
+ - cpp/apidoc/**
+ - cpp/thirdparty/**
+ - cpp/misc/cpplint.py
+ - spark/datasources-32/src/main/scala/org/apache/graphar/datasources/**
+ - spark/datasources-32/src/main/scala/org/apache/spark/sql/graphar/**
+ - spark/datasources-33/src/main/scala/org/apache/graphar/datasources/**
+ - spark/datasources-33/src/main/scala/org/apache/spark/sql/graphar/**
+ - spark/datasources-34/src/main/scala/org/apache/graphar/datasources/**
+ - spark/datasources-34/src/main/scala/org/apache/spark/sql/graphar/**
+ - spark/datasources-35/src/main/scala/org/apache/graphar/datasources/**
+ - spark/datasources-35/src/main/scala/org/apache/spark/sql/graphar/**
+ - java/src/main/java/org/apache/graphar/stdcxx/StdString.java
+ - java/src/main/java/org/apache/graphar/stdcxx/StdVector.java
+ - java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java
+ - java/src/main/java/org/apache/graphar/stdcxx/StdMap.java
+ - java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java
+ - java/build.xml
+ - "**/*.json"
+ - pyspark/poetry.lock
+ - cli/*.yml
+ - cli/*.toml
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 3e76f942..56988672 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -37,7 +37,7 @@ concurrency:
jobs:
build-website:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
if: ${{ !contains(github.event.pull_request.title, 'WIP') }}
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index 25ae537e..15efa1d5 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -30,15 +30,21 @@ concurrency:
cancel-in-progress: true
jobs:
- check:
- runs-on: ubuntu-latest
+ license-check:
+ name: License Check
+ runs-on: ubuntu-slim
steps:
- - uses: actions/checkout@v4
+ - name: Checkout repository
+ uses: actions/checkout@v4
with:
- repository: ${{ github.event.pull_request.head.repo.full_name }}
- ref: ${{ github.event.pull_request.head.ref }}
+ repository: ${{ github.event.pull_request.head.repo.full_name ||
github.repository }}
+ ref: ${{ github.event.pull_request.head.ref || github.ref }}
submodules: false
fetch-depth: 0
- - name: Check License Header
- uses: korandoru/hawkeye@v4
+ - name: Check license header
+ uses: apache/skywalking-eyes@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1
# v0.8.0
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ config: .github/.licenserc.yaml
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index 66b8601d..6182c9b8 100644
--- a/.github/workflows/pr-title.yml
+++ b/.github/workflows/pr-title.yml
@@ -38,7 +38,7 @@ permissions:
jobs:
validate-title:
name: Validate pull request title
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]