Background
The workflow that tracks failed proto-sync PRs failed on #575 with HTTP 403 while trying to label the pull request. It has issues: write and pull-requests: read, but calls addLabels before creating the tracking issue.
Failed workflow: https://github.com/multigres/multigres-operator/actions/runs/32021355267
#585 introduces proto-sync-reporting.yaml for sync-creation failures. Generated-PR CI must use the same reporter so one validated upstream SHA has one issue across both stages.
Scope
Remove PR labeling; the tracking issue already links the short-lived bot PR, and granting write access to pull requests is unnecessary. Keep the existing bot login, branch, repository, and upstream-SHA identity checks before passing data to the reporter.
On failed CI, update or create the SHA-keyed issue with the PR, upstream comparison, failed jobs, and concise failure details. On recovery, close that same issue. The observer must never check out or execute pull-request content.
Acceptance criteria
References
Background
The workflow that tracks failed proto-sync PRs failed on #575 with HTTP 403 while trying to label the pull request. It has
issues: writeandpull-requests: read, but callsaddLabelsbefore creating the tracking issue.Failed workflow: https://github.com/multigres/multigres-operator/actions/runs/32021355267
#585 introduces
proto-sync-reporting.yamlfor sync-creation failures. Generated-PR CI must use the same reporter so one validated upstream SHA has one issue across both stages.Scope
Remove PR labeling; the tracking issue already links the short-lived bot PR, and granting write access to pull requests is unnecessary. Keep the existing bot login, branch, repository, and upstream-SHA identity checks before passing data to the reporter.
On failed CI, update or create the SHA-keyed issue with the PR, upstream comparison, failed jobs, and concise failure details. On recovery, close that same issue. The observer must never check out or execute pull-request content.
Acceptance criteria
issues: write,pull-requests: read, and the read permission needed for workflow diagnostics.References