diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 81f8f1cdd..48d017cde 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -25,7 +25,7 @@ env: jobs: lint-format-autofix: - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.id == github.repository_id runs-on: ubuntu-latest timeout-minutes: 5 permissions: