Skip to content

Commit

Permalink
chore: add license check
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Apr 7, 2024
1 parent b854516 commit f2a4b8b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Check License Header
uses: apache/skywalking-eyes/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
25 changes: 25 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
header:
license:
spdx-id: Apache-2.0
content: |
SPDX-License-Identifier: Apache-2.0
paths-ignore:
- '.github'
- '.gitignore'
- '.gitmodules'
- '.licenserc.yaml'
- '.pre-commit-config.yaml'
- 'environment.yml'
- 'pyproject.toml'
- 'LICENSE'
- '**/__init__.py'
- '**/*.golden'
- '**/*.md'
- '**/*.json'
- '**/*.spark'
- '**/*.splan'
- '**/*.sql'
- '**/*.sql-splan'

comment: never

0 comments on commit f2a4b8b

Please sign in to comment.