From 49577ed8521af427b364edac349993bae7c59b8f Mon Sep 17 00:00:00 2001 From: Datpmt Date: Sat, 7 Dec 2024 23:34:28 +0700 Subject: [PATCH] update action.yml --- .github/workflows/{test.yml => typocop.yml} | 4 ++-- action.yml | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) rename .github/workflows/{test.yml => typocop.yml} (93%) diff --git a/.github/workflows/test.yml b/.github/workflows/typocop.yml similarity index 93% rename from .github/workflows/test.yml rename to .github/workflows/typocop.yml index e82fefbf..d9ed9920 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/typocop.yml @@ -3,7 +3,7 @@ name: Check Typos in Pull Request on: [pull_request] jobs: - test: + typocop: permissions: write-all runs-on: ubuntu-latest steps: @@ -22,7 +22,7 @@ jobs: python3 -m pip install --upgrade pip pip install typos - - name: Run Ruby Action + - name: Run Typocop Action uses: ./ with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/action.yml b/action.yml index ad538c6d..5d3e3b56 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ -name: 'My Ruby Action' -description: 'A GitHub Action written in Ruby that processes input.' +name: 'Typocop Action' +description: 'Comment on PRs with typos or approvals' inputs: github_token: description: 'GitHub Token' @@ -11,10 +11,6 @@ inputs: description: 'GitHub Base Reference' required: true -outputs: - my_output: - description: 'Output after processing' - runs: using: 'composite' steps: