再次按照Gemini的提示修改一下 #101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: AutoCorrect CI | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| autocorrect: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check source code | |
| uses: actions/checkout@v4 | |
| - name: AutoCorrect | |
| uses: huacnlee/autocorrect-action@v2 | |
| - name: Review Dog | |
| if: failure() | |
| uses: huacnlee/autocorrect-action@v2 | |
| env: | |
| REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| reviewdog: true |