Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Files

25 lines (18 loc) · 612 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 612 Bytes

getsentry/action-eslint-fix

Runs eslint (only on changed files in a PR), with --fix and commits the changes to the PR.

Installation

Add the following to your workflow config

    - name: Use current action
      uses: getsentry/action-eslint-fix@v1
      with:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

If you would prefer this action to not modify files for you, use the following config:

    - name: Use current action
      uses: getsentry/action-eslint-fix@v1
      with:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        dry: true