Skip to content

Commit

Permalink
Merge pull request #2323 from GoogleCloudPlatform/header-checker-lint…
Browse files Browse the repository at this point in the history
…-config

test: configure header-checker-lint bot
  • Loading branch information
frankyn authored Aug 13, 2024
2 parents 9da7d8d + 471ee0d commit 1643f75
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/header-checker-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Presubmit test that ensures that source files contain valid license headers
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint
# Install: https://github.com/apps/license-header-lint-gcf

allowedCopyrightHolders:
- 'Google LLC'
allowedLicenses:
- 'Apache-2.0'
sourceFileExtensions:
- 'go'
- 'Makefile'
- 'json'
- 'yaml'
- 'yml'
- 'txt'
- 'py'
- 'Dockerfile'
- 'sh'
- 'cfg'
ignoreFiles:
- 'cmd/testdata/*'
- 'internal/config/testdata/*'
- 'internal/storage/caching/mock_gcscaching/mock_stat_cache.go'
- 'internal/storage/mock_bucket.go'
- 'perfmetrics/scripts/load_tests/python/sample_tasks.yaml'
- 'perfmetrics/scripts/ls_metrics/directory_pb2.py'

0 comments on commit 1643f75

Please sign in to comment.