mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Standardize and auto add license headers to all Vue files with pre-commit (#12081)
This commit is contained in:
parent
3c6484792d
commit
cfe96026dc
@ -81,6 +81,15 @@ repos:
|
|||||||
- --license-filepath
|
- --license-filepath
|
||||||
- .github/workflows/license-templates/LICENSE.txt
|
- .github/workflows/license-templates/LICENSE.txt
|
||||||
- --fuzzy-match-generates-todo
|
- --fuzzy-match-generates-todo
|
||||||
|
- id: insert-license
|
||||||
|
name: add license for all Vue files
|
||||||
|
files: \.vue$
|
||||||
|
args:
|
||||||
|
- --comment-style
|
||||||
|
- '|//|'
|
||||||
|
- --license-filepath
|
||||||
|
- .github/workflows/license-templates/LICENSE.txt
|
||||||
|
- --fuzzy-match-generates-todo
|
||||||
- id: insert-license
|
- id: insert-license
|
||||||
name: add license for all YAML files
|
name: add license for all YAML files
|
||||||
description: automatically adds a licence header to all YAML files that don't have a license header
|
description: automatically adds a licence header to all YAML files that don't have a license header
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// Licensed to the Apache Software Foundation (ASF) under one
|
// Licensed to the Apache Software Foundation (ASF) under one
|
||||||
// or more contributor license agreements. See the NOTICE file
|
// or more contributor license agreements. See the NOTICE file
|
||||||
// distributed with this work for additional information
|
// distributed with this work for additional information
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user