File tree 4 files changed +38
-0
lines changed
4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 71
71
- name : Run Staticcheck
72
72
run : make staticcheck
73
73
74
+ - name : Check License headers
75
+ run : |
76
+ GO111MODULE=off go get github.com/google/addlicense
77
+
78
+ addlicense -check $(find . -type f -name "*.go")
79
+ addlicense -check $(find . -type f -name "*.sh")
80
+ addlicense -check $(find . -type f -name "Dockerfile")
81
+
74
82
- name : Check docs
75
83
if : " !contains(github.ref, 'refs/heads/master')"
76
84
run : make docs && test -z "$(git status --porcelain)" || exit 1
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2021 The terraform-docs Authors.
3
+
4
+ Licensed under the MIT license (the "License"); you may not
5
+ use this file except in compliance with the License.
6
+
7
+ You may obtain a copy of the License at the LICENSE file in
8
+ the root directory of this source tree.
9
+ */
10
+
1
11
package cli
2
12
3
13
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2021 The terraform-docs Authors.
3
+
4
+ Licensed under the MIT license (the "License"); you may not
5
+ use this file except in compliance with the License.
6
+
7
+ You may obtain a copy of the License at the LICENSE file in
8
+ the root directory of this source tree.
9
+ */
10
+
1
11
package plugin
2
12
3
13
import (
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2021 The terraform-docs Authors.
3
+
4
+ Licensed under the MIT license (the "License"); you may not
5
+ use this file except in compliance with the License.
6
+
7
+ You may obtain a copy of the License at the LICENSE file in
8
+ the root directory of this source tree.
9
+ */
10
+
1
11
package plugin
2
12
3
13
import (
You can’t perform that action at this time.
0 commit comments