From 4f6b2be1781dc2f605fe833d9e150d4a2996b65b Mon Sep 17 00:00:00 2001 From: Charis <26616127+charislam@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:27:21 -0500 Subject: [PATCH] fix(ci): comments also appearing on internal prs (#32538) --- .github/workflows/external-pr-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/external-pr-comment.yml b/.github/workflows/external-pr-comment.yml index c6a906e7f33..5e3c36dd358 100644 --- a/.github/workflows/external-pr-comment.yml +++ b/.github/workflows/external-pr-comment.yml @@ -10,7 +10,7 @@ permissions: jobs: comment-on-external-pr: runs-on: ubuntu-latest - if: github.event.pull_request.repository.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository steps: - name: Comment on PR uses: actions/github-script@v7