This is an automated email from the ASF dual-hosted git repository.
delei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git
The following commit(s) were added to refs/heads/main by this push:
new 2070310e refactor: Split license check into standalone workflow (#704)
2070310e is described below
commit 2070310ea2600f7c7d3920e25b6a655f017a102b
Author: ongdisheng <[email protected]>
AuthorDate: Sat Nov 22 15:22:51 2025 +0000
refactor: Split license check into standalone workflow (#704)
---
.github/workflows/ci.yml | 2 --
.github/workflows/license-check.yml | 28 ++++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5c184ae6..32ad60fe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,8 +32,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- - name: Check License Header
- uses: korandoru/hawkeye@v6
- name: Cache Local Maven Repository
uses: actions/cache@v4
with:
diff --git a/.github/workflows/license-check.yml
b/.github/workflows/license-check.yml
new file mode 100644
index 00000000..7fd0c29b
--- /dev/null
+++ b/.github/workflows/license-check.yml
@@ -0,0 +1,28 @@
+# 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: Check License Header
+
+on: [ push, pull_request ]
+
+jobs:
+ license:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v5
+ - name: Check License Header
+ uses: korandoru/hawkeye@v6
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]