Skip to content

Commit 49c49c9

Browse files
authored
Do not set tags for PRs from forks (#10256)
* Do not set tags for PRs from forks * Adjust isFork check * Fix typo
1 parent 89ef908 commit 49c49c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

eng/ci/public-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ extends:
5050
enabled: true
5151
runSourceLanguagesInSourceAnalysis: true
5252

53+
settings:
54+
# PR's from forks do not have sufficient permissions to set tags.
55+
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
56+
5357
stages:
5458
- stage: Test
5559
jobs:

0 commit comments

Comments
 (0)