microsoft / GHAzDO-Resources

Resources, Scripts, etc. for GitHub Advanced Security on Azure DevOps
MIT License
31 stars 14 forks source link

CI Gate - Use PWSH in sample #44

Closed felickz closed 1 month ago

felickz commented 3 months ago

This pull request includes a change to the src/pr-gating/CIVerify.yml file. The change involves adding a pwsh: true line under inputs:. This indicates that the script requires PowerShell 7, without which a syntax error may occur.

felickz commented 2 months ago

LGTM! The only thing that I do not understand is why this is needed now and was not needed before. Is this to cover more build agents?

Correct, exactly this scenario