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 79f04619d4ea58ec5173a3121f04fd6512337f3d Author: kezhenxu94 <[email protected]> AuthorDate: Fri Jul 8 10:43:22 2022 +0800 Organize GHA by header and dependency --- action.yml | 4 ++-- action.yml => dependency/action.yml | 20 ++++---------------- action.yml => header/action.yml | 4 ++-- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/action.yml b/action.yml index e8eef71..d33a37a 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 @@ -43,7 +43,7 @@ inputs: default: check runs: using: docker - image: Dockerfile + image: ../Dockerfile env: GITHUB_TOKEN: ${{ inputs.token }} args: diff --git a/action.yml b/dependency/action.yml similarity index 73% copy from action.yml copy to dependency/action.yml index e8eef71..7a54915 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,21 +29,9 @@ 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 + image: ../Dockerfile env: GITHUB_TOKEN: ${{ inputs.token }} args: @@ -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 97% copy from action.yml copy to header/action.yml index e8eef71..d33a37a 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 @@ -43,7 +43,7 @@ inputs: default: check runs: using: docker - image: Dockerfile + image: ../Dockerfile env: GITHUB_TOKEN: ${{ inputs.token }} args:
