-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: created local '.licenserc.yaml' from remote 'shared-files/lice…
…nse/licenserc.yaml.njk'
- Loading branch information
1 parent
958485e
commit 99cfc16
Showing
1 changed file
with
71 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,71 @@ | ||
header: # `header` section is configurations for source codes license header. | ||
license: | ||
copyright-owner: Orange # the copyright owner to replace the [owner] in the `spdx-id` template. | ||
spdx-id: MPL-2.0 | ||
content: | | ||
SPDX-FileCopyrightText: Copyright (c) [year] [owner] | ||
SPDX-License-Identifier: Mozilla Public License 2.0 | ||
This software is distributed under the MPL-2.0 license. | ||
the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/ | ||
or see the "LICENSE" file for more details. | ||
pattern: | | ||
SPDX-FileCopyrightText: Copyright (c) [year] [owner] | ||
SPDX-License-Identifier: Mozilla Public License 2.0 | ||
This software is distributed under the MPL-2.0 license. | ||
the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/ | ||
or see the "LICENSE" file for more details. | ||
paths: # `paths` are the path list that will be checked (and fixed) by license-eye, default is ['**']. | ||
- '**' | ||
|
||
paths-ignore: # `paths-ignore` are the path list that will be ignored by license-eye. | ||
- 'dist' | ||
- 'licenses' | ||
- '**/*.md' | ||
- '**/testdata/**' | ||
- '**/go.mod' | ||
- '**/go.sum' | ||
- 'LICENSE' | ||
- 'LICENCE' | ||
- 'NOTICE' | ||
- '**/**.svg' | ||
- "**/zz_generated.*.go" | ||
- "GNUmakefile" | ||
- "Makefile" | ||
- "**/*.json" | ||
- ".gitignore" | ||
- "**/*.tmpl" | ||
- "**/*.tf" | ||
- ".changelog/" | ||
- ".archive/" | ||
- ".github/" | ||
- ".vscode/" | ||
- "**/*.code-snippets" | ||
- ".github" | ||
- ".pre-commit" | ||
- ".licenserc.yaml" | ||
- ".golangci.yml" | ||
- ".pre-commit-config.yaml" | ||
- "mkdocs.yml" | ||
- ".devcontainer/" | ||
|
||
comment: on-failure # on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`. | ||
|
||
# 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: | ||
Go: | ||
extensions: | ||
- ".go" | ||
comment_style_id: SlashAsterisk | ||
YAML: | ||
extensions: | ||
- ".yml" | ||
- ".yaml" | ||
comment_style_id: Hashtag | ||
|