action-eslint-fix icon indicating copy to clipboard operation
action-eslint-fix copied to clipboard

Action doesn't commit fixes

Open beazt123 opened this issue 3 years ago • 0 comments
trafficstars

Environment

ubuntu-latest

How do you use Sentry? No Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?)

Which SDK and version? e.g: JavaScript 5.11.1, .NET 1.2.0

Steps to Reproduce

  1. Prepare a small Vue-Typscript project scaffold. Mine's here
  2. Create a few javascript functions. Put extra semicolons in some code to trigger an automatic fix by eslint.
  3. Create a github action like below. Mine's here:
  lintFix:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Install modules
      run: npm install
    - name: Use current action
      uses: getsentry/action-eslint-fix@v1
      with:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expected Result

"style(): Auto eslint fix" to appear in the commit history for my PR

Actual Result

None

What actually happened. Maybe a screenshot/recording? Maybe some logs? No error. Everything went smoothly in the logs

beazt123 avatar May 30 '22 13:05 beazt123