Skip to content

Split OPS reporting into unprivileged and trusted workflows - #56625

Merged
BillWagner merged 1 commit into
dotnet:mainfrom
BillWagner:update-ops-build-reporter
Oct 28, 2026
Merged

BillWagner merged 1 commit into
dotnet:mainfrom
BillWagner:update-ops-build-reporter

Conversation

@BillWagner

Copy link
Copy Markdown
Member
  • Run artifact collection on pull_request with read-only permissions
  • Add a trusted workflow_run publisher for preview links and diagnostics

Requires the updated producer and publisher actions in dotnet/docs-actions#37

- Run artifact collection on `pull_request` with read-only permissions
- Add a trusted `workflow_run` publisher for preview links and diagnostics

Requires the updated producer and publisher actions in dotnet/docs-actions#37
Copilot AI balanced review requested due to automatic review settings October 27, 2026 21:30
@dotnetrepoman dotnetrepoman Bot added this to the October 2026 milestone Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The required upstream actions are not yet available on main, and both references need reviewed commit SHA pins before merge.

2 open issues
What changed in this PR

This PR separates OPS report collection from privileged publication, keeping pull-request workflows read-only while a trusted workflow publishes preview links and diagnostics.

Changes:

  • Switch report collection to pull_request and upload report artifacts.
  • Add a workflow_run publisher with PR and check write permissions, bounded execution time, and serialized publication.
File Description
.github/​workflows/​ops-build-reporter.yml Collects and uploads OPS reports with read-only permissions.
.github/​workflows/​ops-build-publisher.yml Downloads producer artifacts and invokes the trusted publisher.

Review effort: Balanced

Comment thread .github/workflows/ops-build-publisher.yml
Comment thread .github/workflows/ops-build-reporter.yml
@BillWagner
BillWagner marked this pull request as ready for review October 28, 2026 14:41
@BillWagner BillWagner closed this Oct 28, 2026
@BillWagner BillWagner reopened this Oct 28, 2026
@BillWagner
BillWagner merged commit 4e5af9c into dotnet:main Oct 28, 2026
20 of 21 checks passed
@BillWagner
BillWagner deleted the update-ops-build-reporter branch October 28, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants