Skip to content

Commit 4b58393

Browse files
authored
ci: Add PR test for copyright headers (#83)
1 parent fb7987f commit 4b58393

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ env:
1515
GOPROXY: https://proxy.golang.org/
1616

1717
jobs:
18+
copywrite:
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 3
21+
steps:
22+
- name: Checkout Repo
23+
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # https://github.com/actions/checkout/releases/tag/v3.5.0
24+
- name: Install copywrite
25+
uses: hashicorp/[email protected]
26+
- name: Validate Header Compliance
27+
run: copywrite headers --plan
28+
1829
test:
1930
runs-on: ${{ matrix.os }}
2031
timeout-minutes: 10

0 commit comments

Comments
 (0)