Skip to content

Commit 38faef0

Browse files
authored
Don't copy LICENSE or NOTICE files with bootstrap (#522)
* Don't copy LICENSE file when cloning via bootstrap * notice * changeset
1 parent 9a8ecb1 commit 38faef0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.nanpa/no-license.kdl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
patch type="added" "Do not copy LICENSE or NOTICE files during bootstrap"

pkg/bootstrap/bootstrap.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ var templateIgnoreFiles = []string{
6262
"renovate.json",
6363
"taskfile.yaml",
6464
"TEMPLATE.md",
65+
"LICENSE",
66+
"LICENSE.md",
67+
"NOTICE",
6568
}
6669

6770
type Template struct {

0 commit comments

Comments
 (0)