refactor(language-core): use shouldReport to handle unknown events and components checking
#1453
Workflow file for this run
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: auto-fix | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| jobs: | |
| auto-fix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - run: pnpm install | |
| # lint | |
| - name: Auto-fix | |
| run: npm run lint:fix | |
| # format | |
| - name: Format | |
| run: npm run format | |
| # commit | |
| - name: Commit | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "ci(lint): auto-fix" | |
| default_author: github_actions | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |