Skip to content

Commit d4f6be1

Browse files
authored
[COMPLIANCE] Add copyright and license headers (#4)
* add copywrite changes * [COMPLIANCE] Add copyright and license headers * need a --plan flag * Add license
1 parent 57bb21e commit d4f6be1

File tree

230 files changed

+1950
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+1950
-0
lines changed

.copywrite.hcl

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
schema_version = 1
2+
3+
project {
4+
license = "MPL-2.0"
5+
copyright_year = 2023
6+
7+
header_ignore = [
8+
# changie tooling configuration and CHANGELOG entries (prose)
9+
".changes/unreleased/*.yaml",
10+
".changie.yaml",
11+
12+
# GitHub issue template configuration
13+
".github/ISSUE_TEMPLATE/*.yml",
14+
15+
# GitHub Actions workflow-specific configurations
16+
".github/labeler-*.yml",
17+
18+
# golangci-lint tooling configuration
19+
".golangci.yml",
20+
21+
# GoReleaser tooling configuration
22+
".goreleaser.yml",
23+
24+
# Release Engineering tooling configuration
25+
".release/*.hcl",
26+
]
27+
}

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ updates:
66
interval: "daily"
77
- package-ecosystem: "gomod"
88
directory: "/"
9+
schedule:
10+
interval: "daily"
11+
- package-ecosystem: "gomod"
12+
directory: "/tools"
913
schedule:
1014
interval: "daily"

.github/workflows/compliance.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: compliance
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
# Reference: ENGSRV-059
11+
copywrite:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
15+
- uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
16+
- run: copywrite headers --plan
17+
- run: copywrite license --plan

0 commit comments

Comments
 (0)