Skip to content

Commit 6b11707

Browse files
authored
Merge pull request #70 from microsoft/users/tevinstanley/makecomponentdetectionalwaysrun
Pipeline with component detection running
2 parents 23b3ba0 + 7d3989e commit 6b11707

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: .github/workflows/docs_validate.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: 📃 Docfx Validate
22

33
on:
4-
pull_request:
54
workflow_dispatch:
65
push:
76
branches:

Diff for: azure-pipelines/microbuild.before.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ parameters:
1717
steps:
1818
- ${{ if and(not(parameters.IsOptProf), ne(variables['Build.Reason'], 'PullRequest')) }}:
1919
# notice@0 requires CG detection to run first, and non-default branches don't inject it automatically.
20-
- ${{ if ne(variables['Build.SourceBranch'], 'refs/heads/main') }}:
21-
- task: ComponentGovernanceComponentDetection@0
22-
displayName: 🔍 Component Detection
20+
- task: ComponentGovernanceComponentDetection@0
21+
displayName: 🔍 Component Detection
2322

2423
- task: notice@0
2524
displayName: 🛠️ Generate NOTICE file

0 commit comments

Comments
 (0)