mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
ci: add copywrite action to check file headers. (#17889)
This commit is contained in:
19
.github/workflows/copywrite.yml
vendored
Normal file
19
.github/workflows/copywrite.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Check Copywrite Headers
|
||||
|
||||
on:
|
||||
push: {}
|
||||
|
||||
jobs:
|
||||
copywrite:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||
- uses: hashicorp/setup-copywrite@867a1a2a064a0626db322392806428f7dc59cb3e # v1.1.2
|
||||
name: Setup Copywrite
|
||||
with:
|
||||
version: v0.16.4
|
||||
archive-checksum: c299f830e6eef7e126a3c6ef99ac6f43a3c132d830c769e0d36fa347fa1af254
|
||||
- name: Check Header Compliance
|
||||
run: copywrite headers --plan
|
||||
permissions:
|
||||
contents: read
|
||||
Reference in New Issue
Block a user