Open
Description
🐞 Bug Report
Describe the bug
When running PSRule.Rules.AzureDevOps against project where Repository is Disabled, script throw exception:
Is this a regression?
I didn't check older versions.
To Reproduce
I created Azure DevOps organization and fresh project for that.
- imported PSRule.Rules.AzureDevOps repository to project
- setup PSRule pipeline like in instructions.
- run pipeline (this is properly working try):
so far is ok (PSRule shows missconfigurations) - disable any repo that is not PSRule repo:
- run pipeline, it will fail:
Expected behaviour
I would like the script not to stop. During our migration to Github we disable, not delete old repositories.
Your environment
- OS: Ubuntu 22.04
- PowerShell version: 7.2
- PSRule version: newest commit from main
- PSRule.Rules.AzureDevOps version: newest commit from main