Skip to content

Commit

Permalink
chore: run linters with auto_fix = false for forks (#2852)
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem authored Nov 28, 2021
1 parent b1009b0 commit f7ecdc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
jobs:
run-linters:
name: Run linters
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -45,4 +44,4 @@ jobs:
github_token: ${{ secrets.github_token }}
eslint: true
eslint_extensions: js,jsx,ts,tsx,json
auto_fix: true
auto_fix: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}

0 comments on commit f7ecdc4

Please sign in to comment.