Skip to content

Commit

Permalink
Export AzDo org data instead of project only (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
webtonize authored Jan 7, 2024
1 parent b21b063 commit c651b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/psrule-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
Import-Module ./src/PSRule.Rules.AzureDevOps/PSRule.Rules.AzureDevOps.psd1 -Force
Connect-AzDevOps -Organization ${{ secrets.ADO_ORGANIZATION }} -PAT ${{ secrets.ADO_PAT }}
New-Item -Path ./data -ItemType Directory -Force
Export-AzDevOpsRuleData -Project ${{ secrets.ADO_PROJECT }} -OutputPath ./data
Export-AzDevOpsOrganizationRuleData -OutputPath ./data
$result = Invoke-PSRule -InputPath ./data/ `
-Module "PSRule.Rules.AzureDevOps","PSRule.Monitor" `
-Format Detect -Culture en
Expand Down

0 comments on commit c651b86

Please sign in to comment.