From 97e7048bf26b7da6d159a2c9143f42f8f91a7ef9 Mon Sep 17 00:00:00 2001 From: sarah <35204912+satvu@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:56:20 -0700 Subject: [PATCH] skipBuildTagsForGitHubPullRequests when the PR is a fork (#2770) --- eng/ci/public-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index e4a3bc602..169797320 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -55,6 +55,10 @@ extends: image: 1es-windows-2022 os: windows + settings: + # PR's from forks do not have sufficient permissions to set tags. + skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }} + stages: - stage: Test