chore(website): disable mdx1Compat.admonitions, migrate website admonition to proper directive syntax
#3101
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: Lint AutoFix | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - docusaurus-v** | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-autofix: | |
| name: Lint AutoFix | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.head_ref }} | |
| - name: Installation | |
| run: yarn || yarn || yarn | |
| - name: AutoFix Format | |
| run: yarn format | |
| - name: AutoFix JS | |
| run: yarn lint:js:fix | |
| - name: AutoFix Style | |
| run: yarn lint:style:fix | |
| - name: AutoFix Spelling | |
| run: yarn lint:spelling:fix | |
| - name: Print Diff | |
| run: git diff | |
| - uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0 | |
| with: | |
| commit_message: 'refactor: apply lint autofix' |