mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 01:08:18 +08:00
Make sure we run CG component detection on main (#19060)
* Make sure we run CG component detection on main I believe that there is a hidden "default branch" setting in Azure DevOps, and ours is set to "master". CG only attempts to automatically inject to builds off the default branch... and because we're a GitHub repo running builds in AzDO we _can't change what the default branch is_. Oops. Copied from microsoft/terminal#e0bd76b30 * spellbot got mad at me
This commit is contained in:
parent
eeda2ec985
commit
31e3c46641
1
.github/actions/spell-check/expect.txt
vendored
1
.github/actions/spell-check/expect.txt
vendored
@ -192,6 +192,7 @@ buf
|
|||||||
BUFSIZE
|
BUFSIZE
|
||||||
bugreport
|
bugreport
|
||||||
BUILDARCH
|
BUILDARCH
|
||||||
|
buildtask
|
||||||
buildtransitive
|
buildtransitive
|
||||||
Burkina
|
Burkina
|
||||||
Buryatia
|
Buryatia
|
||||||
|
@ -22,3 +22,9 @@ jobs:
|
|||||||
- template: build-powertoys-steps.yml
|
- template: build-powertoys-steps.yml
|
||||||
parameters:
|
parameters:
|
||||||
additionalBuildArguments: ${{ parameters.additionalBuildArguments }}
|
additionalBuildArguments: ${{ parameters.additionalBuildArguments }}
|
||||||
|
|
||||||
|
# It appears that the Component Governance build task that gets automatically injected stopped working
|
||||||
|
# when we renamed our main branch.
|
||||||
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
||||||
|
displayName: 'Component Detection'
|
||||||
|
condition: and(succeededOrFailed(), not(eq(variables['Build.Reason'], 'PullRequest')))
|
||||||
|
Loading…
Reference in New Issue
Block a user