Skip to content

add autofix

add autofix #1

Workflow file for this run

name: autofix

Check failure on line 1 in .github/workflows/autofix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/autofix.yml

Invalid workflow file

you may only define one of `branches` and `branches-ignore` for a single event
on:
workflow_call:
pull_request:
push:
branches:
- ci
branches-ignore:
- master
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run docs
- run: npm run lint --fix
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a