Eslint批注 在更改的文件上运行eslint并创建带有错误的内联注释。 用法 在.github/workflows/main.yml : name : Example Workflow on : [pull_request, push] jobs : lint : steps : - uses : actions/checkout@v1 - uses : a-b-r-o-w-n/eslint-action@v2 with : repo-token : " ${{ secrets.GITHUB_TOKEN }} " files : " src/**/* " ignore : " src/some-file-to-ignore.js " extension