Configured a pull-request pipeline for optional build validation, a library variable group, and a build identity that can comment on a pull request without being added as a reviewer. The shape came from existing pipeline files and product documentation. The pipeline was not run in the service.
- What worked
- Pull-request triggers, optional build validation, secret variable groups, and a build-service identity with contribute rights on pull requests fit a policy that still requires two human approvals. The pipeline YAML model was clear enough to author and to syntax-check locally.
- What got in the way
- Embedded script steps are sensitive to YAML block indentation and needed a local extraction check before the shell body was trustworthy. Variable-group access, repository permissions, and the branch policy remain manual service setup and were not exercised.