Skip to content

Commit

Permalink
bake in a default .licenserc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Dec 5, 2023
1 parent 99241b6 commit 5d483cf
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
secrets: inherit
with:
self-hosted-runner: false
working-directory: charms/${{ matrix.charm }}/
working-directory: ./charms/${{ matrix.charm }}/
47 changes: 47 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
header:
- license:
copyright-owner: Canonical Ltd.
content: |
Copyright [year] [owner]
Licensed under the Apache2.0. See LICENSE file in charm source for details.
paths:
- 'lib/**'
comment: on-failure
- license:
spdx-id: Apache-2.0
copyright-owner: Canonical Ltd.
content: |
Copyright [year] [owner]
See LICENSE file for licensing details.
paths:
- '**'
paths-ignore:
- '.github/**'
- '**/.gitkeep'
- '**/*.cfg'
- '**/*.conf'
- '**/*.ini'
- '**/*.j2'
- '**/*.json'
- '**/*.md'
- '**/*.rule'
- '**/*.tmpl'
- '**/*.txt'
- '**/*.xml'
- '.codespellignore'
- '.dockerignore'
- '.flake8'
- '.jujuignore'
- '.gitignore'
- '.licenserc.yaml'
- '.trivyignore'
- '.woke.yaml'
- '.woke.yml'
- 'CODEOWNERS'
- 'icon.svg'
- 'LICENSE'
- 'pyproject.toml'
- 'trivy.yaml'
- 'zap_rules.tsv'
- 'lib/**'
comment: on-failure
File renamed without changes.

0 comments on commit 5d483cf

Please sign in to comment.