Skip to content

Commit

Permalink
Update autocorrect.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraShu authored May 27, 2024
1 parent 4f35046 commit 4048bd6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/autocorrect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
- 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

0 comments on commit 4048bd6

Please sign in to comment.