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.
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.