microsoft / GHAzDO-Resources

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

Update docs to use system access tokens for pr-gating #23

Open tjcorr opened 7 months ago

tjcorr commented 7 months ago

The gating and pr-gating scripts can both leverage the standard build service token $(System.AccessToken) to complete API calls. It should work natively on the gating script. The pr-gating script also requires write permissions for PRs so that would need to be added in ADO RBAC first.

felickz commented 7 months ago

Ex:

Image

tjcorr commented 4 months ago

Fixed by #39