forked from async-profiler/async-profiler
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GHA to validate required license headers (async-profiler#1016)
- Loading branch information
1 parent
da3f5f3
commit 5a90a82
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Linter Checks | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
check-license-headers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check license headers | ||
uses: apache/skywalking-eyes/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
header: | ||
- paths: | ||
- 'src/jattach' | ||
license: | ||
content: | | ||
Copyright The jattach authors | ||
SPDX-License-Identifier: Apache-2.0 | ||
comment: on-failure | ||
|
||
- paths: | ||
- 'src' | ||
- 'test' | ||
paths-ignore: | ||
- 'src/jattach' | ||
- 'src/res' | ||
license: | ||
content: | | ||
Copyright The async-profiler authors | ||
SPDX-License-Identifier: Apache-2.0 | ||
comment: on-failure |