mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-12-05 16:22:29 -08:00
CI: don't allow multiple Element Creations Ltd Copyright headers
This commit is contained in:
1 parent
1cac66dad2
commit
d6febaa524
1 file changed
+6
@@ -48,6 +48,12 @@ jobs:
|
||||
run: |
|
||||
./scripts/spdx_check_all_files.py "$RUNNER_TEMP/reuse.spdx"
|
||||
|
||||
# `reuse spdx` will coalesce multiple identical copyright headerts
|
||||
if grep -Pzlr '(?s)Copyright \d{4}(-\d{4})? Element Creations Ltd\n.*Copyright \d{4}(-\d{4})? Element Creations Ltd' .; then
|
||||
echo "Some files had more than 1 Element Creations Ltd header"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Copyright dates
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user