-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from Project-MONAI/vchang/check-headers
Add GH Action to check file headers
- Loading branch information
Showing
59 changed files
with
953 additions
and
120 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
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 |
---|---|---|
|
@@ -43,6 +43,11 @@ jobs: | |
with: | ||
dotnet-version: "6.0.x" | ||
|
||
- name: Install License Finder tool with Homebrew | ||
uses: tecoli-com/actions-use-homebrew-tools@v0 | ||
with: | ||
tools: licensefinder | ||
|
||
- name: Enable NuGet cache | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -69,6 +74,12 @@ jobs: | |
|
||
- name: Secret detection | ||
uses: gitleaks/[email protected] | ||
|
||
- name: Perform License Scanning | ||
run: license_finder -r | ||
|
||
- name: Check License Header | ||
uses: apache/skywalking-eyes@main | ||
|
||
unit-test: | ||
runs-on: ubuntu-latest | ||
|
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,31 @@ | ||
header: | ||
license: | ||
spdx-id: Apache-2.0 | ||
copyright-owner: MONAI Consortium | ||
|
||
paths: | ||
- 'src' | ||
|
||
paths-ignore: | ||
- '**/bin/**' | ||
- '**/obj/**' | ||
- '**/*.json' | ||
- '**/*.ruleset' | ||
- 'src/.sonarlint/**' | ||
- 'src/coverlet.runsettings' | ||
|
||
comment: on-failure | ||
|
||
# license-location-threshold specifies the index threshold where the license header can be located, | ||
# after all, a "header" cannot be TOO far from the file start. | ||
license-location-threshold: 80 | ||
|
||
language: | ||
VSSoluation: | ||
extensions: | ||
- ".sln" | ||
comment_style_id: AngleBracket | ||
Config: | ||
extensions: | ||
- ".conf" | ||
comment_style_id: Hashtag |
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
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
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
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
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
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
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
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
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
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
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
17 changes: 15 additions & 2 deletions
17
src/Messaging/Configuration/MessageBrokerServiceConfiguration.cs
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
Oops, something went wrong.