You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2023/01/12 02:58:32 UTC

[incubator-devlake] branch main updated: fix: update NOTICE file (#4198)

This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new a290c5bce fix: update NOTICE file (#4198)
a290c5bce is described below

commit a290c5bce1af0d30e2bccc776871b362870f62a2
Author: mindlesscloud <li...@merico.dev>
AuthorDate: Thu Jan 12 10:58:28 2023 +0800

    fix: update NOTICE file (#4198)
---
 .github/workflows/NOTICE-year-check.yml | 27 +++++++++++++++++++++++++++
 NOTICE                                  |  2 +-
 2 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/NOTICE-year-check.yml b/.github/workflows/NOTICE-year-check.yml
new file mode 100644
index 000000000..2fff55c63
--- /dev/null
+++ b/.github/workflows/NOTICE-year-check.yml
@@ -0,0 +1,27 @@
+#
+# 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.
+#
+
+name: NOTICE-year-check
+on: [pull_request]
+
+jobs:
+  notice-year-check:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - name: check the NOTICE file
+        run: grep $(date +"%Y") NOTICE
diff --git a/NOTICE b/NOTICE
index c46c4db14..169fdbc92 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache DevLake (incubating)
-Copyright 2022 The Apache Software Foundation
+Copyright 2023 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (https://www.apache.org/).