Skip to content

Commit cd86df2

Browse files
authored
Fix public builds from forks (#281)
Based on this PR from host: Azure/azure-functions-host#10256 And clean up CodeQL settings based on this PR: Azure/azure-functions-host#10198
1 parent 7cf663d commit cd86df2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines/public-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ extends:
3434
image: 1es-windows-2022
3535
os: windows
3636

37+
sdl:
38+
codeql:
39+
compiled:
40+
enabled: true
41+
runSourceLanguagesInSourceAnalysis: true
42+
43+
settings:
44+
# PR's from forks do not have sufficient permissions to set tags.
45+
skipBuildTagsForGitHubPullRequests: ${{ variables['System.PullRequest.IsFork'] }}
46+
3747
stages:
3848
- stage: WindowsUnitTests
3949
dependsOn: []

0 commit comments

Comments
 (0)