-
Notifications
You must be signed in to change notification settings - Fork 88
chore: switch CI jobs to use ubuntu-slim instead of ubuntu-latest #902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||
| # "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 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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@main | ||
|
||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
|
Comment on lines
+45
to
+49
|
||
| config: .github/.licenserc.yaml | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new
.github/.licenserc.yamlfile 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.