From b998b7d6c77dcfd58e3478b11061fba9e41c9fdf Mon Sep 17 00:00:00 2001 From: Dmitriy Mozgovoy Date: Sat, 26 Apr 2025 19:10:21 +0300 Subject: [PATCH] chore(ci): run PR guard action only for forks; (#6892) --- .github/workflows/pr-guard.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-guard.yml b/.github/workflows/pr-guard.yml index 46faf7f..9b74d6f 100644 --- a/.github/workflows/pr-guard.yml +++ b/.github/workflows/pr-guard.yml @@ -1,4 +1,4 @@ -name: "PR files guard" +name: "PR guard" on: pull_request: @@ -6,6 +6,7 @@ on: jobs: check-dist: + if: github.event.pull_request.head.repo.full_name != github.repository runs-on: ubuntu-latest permissions: pull-requests: write