Runs eslint (only on changed files in a PR), with --fix and commits the changes to the PR.
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