Skip to content

Commit 41f21fe

Browse files
author
Takashi Matsuo
authored
chore: convert the header-checker-lint.yml to yaml (GoogleCloudPlatform#5855)
I just converted the config to yaml format. FYI: Now the header-checker-lint bot creates failing status check for invalid config files. Also, the bot now reads the config file from the PR head.
1 parent e782373 commit 41f21fe

1 file changed

Lines changed: 27 additions & 15 deletions

File tree

.github/header-checker-lint.yml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1-
{"allowedCopyrightHolders": ["Google LLC", "Google, Inc"],
2-
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
3-
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/requirements-composer.txt", "**/__init__.py", "**/constraints.txt", "**/constraints-test.txt"],
4-
"sourceFileExtensions": [
5-
"ts",
6-
"js",
7-
"java",
8-
"sh",
9-
"Dockerfile",
10-
"yaml",
11-
"py",
12-
"html",
13-
"txt"
14-
]
15-
}
1+
allowedCopyrightHolders:
2+
- "Google LLC"
3+
- "Google, Inc"
4+
5+
allowedLicenses:
6+
- "Apache-2.0"
7+
- "MIT"
8+
- "BSD-3"
9+
10+
ignoreFiles:
11+
- "**/requirements.txt"
12+
- "**/requirements-test.txt"
13+
- "**/requirements-composer.txt"
14+
- "**/__init__.py"
15+
- "**/constraints.txt"
16+
- "**/constraints-test.txt"
17+
18+
sourceFileExtensions:
19+
- "ts"
20+
- "js"
21+
- "java"
22+
- "sh"
23+
- "Dockerfile"
24+
- "yaml"
25+
- "py"
26+
- "html"
27+
- "txt"

0 commit comments

Comments
 (0)