We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59adc36 commit 8ae6220Copy full SHA for 8ae6220
.github/workflows/ci.yml
@@ -45,6 +45,17 @@ jobs:
45
46
- name: Run clippy (fail on warnings)
47
run: cargo clippy --all-targets --all-features
48
+
49
+ - name: Check copyright headers
50
+ run: |
51
+ #!/bin/bash
52
+ set -e
53
+ find . -name "*.rs" -type f -not -path "./target/*" -not -path "./envoy-data-plane-api/*" | while read -r file; do
54
+ if ! head -1 "$file" | grep -q "Copyright"; then
55
+ echo "Missing copyright header in $file"
56
+ exit 1
57
+ fi
58
+ done
59
60
# Build and test that share artifacts
61
build-and-test:
0 commit comments