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

kezhenxu94 pushed a commit to branch gha/dep
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git

commit 39dce88d794d525ea038a548766788790b920495
Author: kezhenxu94 <[email protected]>
AuthorDate: Fri Jul 8 10:40:44 2022 +0800

    Organize GHA by header and dependency
---
 action.yml                          |  2 +-
 action.yml => dependency/action.yml | 18 +++---------------
 action.yml => header/action.yml     |  2 +-
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/action.yml b/action.yml
index e8eef71..b4e8ce9 100644
--- a/action.yml
+++ b/action.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: License Eye
+name: License Eye Header
 description: A full-featured license tool to check and fix license headers and 
dependencies' licenses.
 branding:
   icon: book
diff --git a/action.yml b/dependency/action.yml
similarity index 74%
copy from action.yml
copy to dependency/action.yml
index e8eef71..bd2a06d 100644
--- a/action.yml
+++ b/dependency/action.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: License Eye
+name: License Eye Dependency
 description: A full-featured license tool to check and fix license headers and 
dependencies' licenses.
 branding:
   icon: book
@@ -29,18 +29,6 @@ inputs:
     description: The configuration file, for example, ".licenserc.yaml"
     required: false
     default: .licenserc.yaml
-  token:
-    description: |
-      The token that license eye uses when it needs to comment on the pull 
request.
-      Set to empty ("") to disable commenting on pull request.
-    required: false
-    default: ${{ github.token }}
-  mode:
-    description: |
-      Which mode License Eye should be run in. Choices are `check` or `fix`. 
The
-      default value is `check`.
-    required: false
-    default: check
 runs:
   using: docker
   image: Dockerfile
@@ -51,5 +39,5 @@ runs:
     - ${{ inputs.log }}
     - -c
     - ${{ inputs.config }}
-    - header
-    - ${{ inputs.mode }}
+    - dependency
+    - check
diff --git a/action.yml b/header/action.yml
similarity index 98%
copy from action.yml
copy to header/action.yml
index e8eef71..b4e8ce9 100644
--- a/action.yml
+++ b/header/action.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: License Eye
+name: License Eye Header
 description: A full-featured license tool to check and fix license headers and 
dependencies' licenses.
 branding:
   icon: book

Reply via email to