| 123456789101112131415161718192021222324 |
- name: check
- on: [pull_request, merge_group, workflow_dispatch, workflow_call]
- jobs:
- check:
- runs-on: ubuntu-latest
- name: Check
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
- - name: AutoCorrect
- uses: huacnlee/autocorrect-action@v2
- - name: Report ReviewDog
- if: failure()
- uses: huacnlee/autocorrect-action@v2
- env:
- REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- reviewdog: true
|