From 90bc501db32434cdefb06b65410f5afa8f74c051 Mon Sep 17 00:00:00 2001 From: rayenchtioui <113062306+rayenchtioui@users.noreply.github.com> Date: Sun, 3 May 2026 10:21:03 +0100 Subject: [PATCH] Skip artifact PR comments for forked branches --- .github/workflows/pr-extension-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-extension-build.yml b/.github/workflows/pr-extension-build.yml index d7deb10..b0bd85e 100644 --- a/.github/workflows/pr-extension-build.yml +++ b/.github/workflows/pr-extension-build.yml @@ -40,7 +40,7 @@ jobs: path: '*.vsix' - name: Comment on PR with artifact link - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository uses: actions/github-script@v7 with: script: |