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

junchao pushed a commit to branch apache_check
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git


The following commit(s) were added to refs/heads/apache_check by this push:
     new 6236b250 add license
6236b250 is described below

commit 6236b250ab2e08ce3df2c6c365f8064a1df788c7
Author: Ubuntu <[email protected]>
AuthorDate: Sat May 4 14:46:13 2024 +0000

    add license
---
 .github/workflows/loc.yml |  3 +--
 action.yml                | 53 -----------------------------------------------
 2 files changed, 1 insertion(+), 55 deletions(-)

diff --git a/.github/workflows/loc.yml b/.github/workflows/loc.yml
index de12cb64..a87375fd 100644
--- a/.github/workflows/loc.yml
+++ b/.github/workflows/loc.yml
@@ -14,9 +14,8 @@ jobs:
          repository: ${{github.repository}}
          ref: ${{ env.BRANCH_NAME }}
 
-     #uses: ./third_party/loc_script # Uses an action in the root directory
      - name: Launch the local action
-       uses: ./
+       uses: ./third_party/loc_script/ # Uses an action in the root directory
        id: badge
        with:
          debug: true
diff --git a/action.yml b/action.yml
deleted file mode 100644
index 1946350d..00000000
--- a/action.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-# This script is from 
https://github.com/shadowmoose/GHA-LoC-Badge/blob/master/action.yml
-
-name: 'lines of code Badge'
-description: 'Generate a badge to display total Lines of Code'
-inputs:
-  directory:
-    description: 'The directory to scan.'
-    required: false
-    default: './'
-  badge:
-    description: 'The output path to save the badge svg - including extension!'
-    required: false
-    default: './badge.svg'
-  patterns:
-    description: 'The file patterns to search for, separated by pipes ("|").'
-    required: false
-    default: "**"
-  ignore:
-    description: 'The file patterns to ignore, even if they matched 
"patterns", separated by pipes ("|").'
-    required: false
-    default: "node_modules"
-  badge_label:
-    description: "The label to use for the badge."
-    required: false
-    default: "lines of code"
-  badge_color:
-    description: "The color to use for the badge."
-    required: false
-    default: "blue"
-  badge_style:
-    description: "The body style to use for the badge. ('flat' or 'classic')"
-    required: false
-    default: "classic"
-  badge_scale:
-    description: "The scale to resize this badge"
-    required: false
-    default: "1"
-  badge_labelcolor:
-    description: "The color to use for this badge label."
-    required: false
-    default: "555"
-  debug:
-    description: 'Enable debug logging'
-    required: false
-    default: 'false'
-
-runs:
-  using: 'node12'
-  main: './src/index.js'
-
-branding:
-  icon: 'award'  
-  color: 'green'

Reply via email to