Skip to content

Commit

Permalink
add apache license check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcchen committed May 4, 2024
1 parent c4c0726 commit b6aace2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Check Apache License

on:
push

jobs:
ubuntu-build:
name: check license
runs-on: ubuntu-latest
steps:
- name: Check License Header
uses: apache/skywalking-eyes/header@main
14 changes: 14 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
header:
license:
spdx-id: Apache-2.0
copyright-owner: Apache Software Foundation

paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'

comment: on-failure

0 comments on commit b6aace2

Please sign in to comment.