Skip to content

Commit

Permalink
Do not set tags for PRs from forks (Azure#10256)
Browse files Browse the repository at this point in the history
* Do not set tags for PRs from forks

* Adjust isFork check

* Fix typo
  • Loading branch information
jviau authored Jul 8, 2024
1 parent 89ef908 commit 49c49c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/ci/public-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ extends:
enabled: true
runSourceLanguagesInSourceAnalysis: true

settings:
# PR's from forks do not have sufficient permissions to set tags.
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}

stages:
- stage: Test
jobs:
Expand Down

0 comments on commit 49c49c9

Please sign in to comment.