Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Skip signing tasks on PRs from forks
Browse files Browse the repository at this point in the history
Forks aren't given access to our feeds
  • Loading branch information
AArnott committed Sep 30, 2020
1 parent e9f7cf1 commit 4b34fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines/microbuild.after.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ steps:
TargetFolders: |
$(Build.StagingDirectory)\vsix
WhiteListPathForCerts: $(Build.SourcesDirectory)\azure-pipelines\no_authenticode.txt
condition: and(succeeded(), ne(variables['System.PullRequest.IsFork'], 'true'))

- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: Component Detection
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/microbuild.before.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ steps:
displayName: Install Signing Plugin
inputs:
signType: $(SignType)
condition: and(succeeded(), ne(variables['System.PullRequest.IsFork'], 'true'))

0 comments on commit 4b34fc0

Please sign in to comment.