Skip to content

docs: add docusaurus-plugin-native-ideal-image to community plugins #3613

docs: add docusaurus-plugin-native-ideal-image to community plugins

docs: add docusaurus-plugin-native-ideal-image to community plugins #3613

Workflow file for this run

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Install pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Set up Node LTS
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
cache: pnpm
- name: Installation
run: pnpm install --frozen-lockfile || pnpm install --frozen-lockfile || pnpm install --frozen-lockfile
- name: AutoFix Formatting
run: pnpm format
- name: AutoFix JS
run: pnpm lint:js:fix
- name: AutoFix Style
run: pnpm lint:style:fix
- name: AutoFix Spelling
run: pnpm lint:spelling:fix
- name: AutoFix Dependency versions
run: pnpm lint:syncpack:fix
- name: Print Diff
run: git diff
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
with:
commit_message: 'refactor: apply lint autofix'