Commit 19c39833 authored by Moody Salem's avatar Moody Salem

chore: update the linter to skip running on forks and update the version

parent 45709a5d
...@@ -4,13 +4,14 @@ on: ...@@ -4,13 +4,14 @@ on:
push: push:
branches: branches:
- main - main
pull_request_target: pull_request:
branches: branches:
- main - main
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:
...@@ -39,7 +40,7 @@ jobs: ...@@ -39,7 +40,7 @@ jobs:
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Run linters - name: Run linters
uses: wearerequired/lint-action@b98b0918aa71490373d2eca9e8e39a9bc1cc2517 uses: wearerequired/lint-action@36c7e6689e80d785d27a22f71d970f3a3b4fcb70
with: with:
github_token: ${{ secrets.github_token }} github_token: ${{ secrets.github_token }}
eslint: true eslint: true
......
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