Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/.licenserc.yaml
Original file line number Diff line number Diff line change
@@ -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
Comment on lines +1 to +5
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new .github/.licenserc.yaml file is missing the standard ASF license header comment block that the repository uses for YAML files. Add the ASF header to the top of this file (or ensure it’s explicitly excluded by the license-check config) so the license check and ASF policy remain consistent.

Copilot uses AI. Check for mistakes.
# "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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Comment on lines +45 to +49
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apache/skywalking-eyes is referenced from the moving @main branch, which makes the workflow non-reproducible and increases supply-chain risk. Pin this action to a tagged release or a specific commit SHA instead.

Copilot uses AI. Check for mistakes.
config: .github/.licenserc.yaml
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading