Commit f7ecdc43 authored by Moody Salem's avatar Moody Salem Committed by GitHub

chore: run linters with auto_fix = false for forks (#2852)

parent b1009b0e
...@@ -11,7 +11,6 @@ on: ...@@ -11,7 +11,6 @@ on:
jobs: jobs:
run-linters: run-linters:
name: 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 runs-on: ubuntu-latest
steps: steps:
...@@ -45,4 +44,4 @@ jobs: ...@@ -45,4 +44,4 @@ jobs:
github_token: ${{ secrets.github_token }} github_token: ${{ secrets.github_token }}
eslint: true eslint: true
eslint_extensions: js,jsx,ts,tsx,json 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 }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment