From b48be63d51af550e0126f9bd90557465d787ba32 Mon Sep 17 00:00:00 2001 From: CodeRabbit Automation Date: Tue, 12 May 2026 09:57:34 -0700 Subject: [PATCH] Block fork pull request workflow jobs --- .github/workflows/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7ea0886..5c4187a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,7 @@ permissions: read-all jobs: shellcheck: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: ShellCheck runs-on: ubuntu-latest steps: @@ -23,6 +24,7 @@ jobs: shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh completions: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Completions runs-on: ubuntu-latest steps: @@ -32,6 +34,7 @@ jobs: run: ./scripts/generate-completions.sh --check test: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Tests runs-on: ubuntu-latest steps: