From 4048bd6a3e9ac67304e88215b08f37ce2a002268 Mon Sep 17 00:00:00 2001 From: Sora Shu Date: Mon, 27 May 2024 22:14:06 +0800 Subject: [PATCH] Update autocorrect.yml --- .github/workflows/autocorrect.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/autocorrect.yml b/.github/workflows/autocorrect.yml index a4ccaa9..270cdff 100644 --- a/.github/workflows/autocorrect.yml +++ b/.github/workflows/autocorrect.yml @@ -23,11 +23,12 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Checkout source code - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - - name: AutoCorrect check - run: | - curl -sSL https://git.io/JcGER | sudo bash - autocorrect --lint . \ No newline at end of file + - name: AutoCorrect + uses: huacnlee/autocorrect-action@main + - name: Report ReviewDog + if: failure() + uses: huacnlee/autocorrect-action@main + env: + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + reviewdog: true