We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b82f6ca + 12bcf38 commit 7a85ca6Copy full SHA for 7a85ca6
.github/workflows/license.yml
@@ -0,0 +1,24 @@
1
+name: License
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: 'Checkout Code'
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Go ${{matrix.go-version}}
18
+ uses: actions/setup-go@v5
19
+ with:
20
+ go-version: ${{matrix.go-version}}
21
22
+ - name: 'Validate License Headers'
23
+ # NOTE: Keep in sync with .hooks/addlicense
24
+ run: go run github.com/google/addlicense@v1.1.1 -check -s=only -ignore='bin/**' -ignore='**/.terraform.lock.hcl' -ignore='definitions/**' **
0 commit comments