Skip to content

Commit

Permalink
ci: Add PR test for copyright headers (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Apr 11, 2023
1 parent 11b0e20 commit fba334c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ on:
- 'CHANGELOG.md'
- 'website/*'
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # https://github.com/actions/checkout/releases/tag/v3.5.0
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.0.0
- name: Validate Header Compliance
run: copywrite headers --plan

# resolve-versions allows us to show resolved Go versions in job titles
# for added clarity and quick orientation in a long list of past jobs
resolve-versions:
Expand Down

0 comments on commit fba334c

Please sign in to comment.