fix(language-core): AST fault tolerance for key binding on template (… #2163
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: 22 | |
| 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 }} |