You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by el...@apache.org on 2023/06/30 08:49:46 UTC
[airflow] branch main updated: Add licence preamble also in hidden files (#32276)
This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7e06c80702 Add licence preamble also in hidden files (#32276)
7e06c80702 is described below
commit 7e06c80702a16db466e6321f7a46cd94c19058c8
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Jun 30 10:49:40 2023 +0200
Add licence preamble also in hidden files (#32276)
Licence preamble adding has beeen skipped for markdown files in
hidden/.github folders. Technically the licence is not needed
there as we do not distribute those files in sources, but it does
not hurt to have it for consistency
---
.github/PULL_REQUEST_TEMPLATE.md | 19 +++++++++++++++++++
.pre-commit-config.yaml | 2 +-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 021313b68e..011b4caa5e 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,3 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+ -->
+
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c3447d2e3c..f8371431aa 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -137,7 +137,7 @@ repos:
- id: insert-license
name: Add license for all Markdown files
files: \.md$
- exclude: ^\.github/.*$|PROVIDER_CHANGES.*\.md$|^.*/.*_vendor/
+ exclude: PROVIDER_CHANGES.*\.md$|^.*/.*_vendor/
args:
- --comment-style
- "<!--|| -->"