Load dashboard code from the reusable workflow commit - #285
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1eab96b0-ec5b-48cf-9098-3645427d7358
Contributor
There was a problem hiding this comment.
Pull request overview
Uses GitHub Actions self-repository syntax to securely load dashboard scripts from the reusable workflow’s immutable commit.
Changes:
- Replaces caller-controlled script checkout with a self-repository composite action.
- Updates script and cache paths to use the action output.
- Updates rollout tests and documentation for compatibility behavior.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/pull-request-dashboard.yml |
Documents transitional rollout behavior. |
.github/workflows/pull-request-dashboard-repo.yml |
Loads and executes commit-matched dashboard code. |
.github/scripts/pull-request-dashboard/test_rollout.py |
Verifies self-repository workflow wiring. |
.github/scripts/pull-request-dashboard/test_promote_rollout.py |
Updates promotion-test terminology. |
.github/scripts/pull-request-dashboard/RATIONALE.md |
Documents the new security model. |
.github/scripts/pull-request-dashboard/action.yml |
Exposes the immutable dashboard-code path. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1eab96b0-ec5b-48cf-9098-3645427d7358
Pull request dashboard statusMerged · refreshed 2026-08-21 14:33 UTC Status above doesn't look right?
|
maryliag
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves code-scanning alerts #46 and #47 by loading pull request dashboard scripts through GitHub's self-repository action syntax. The workflow and scripts now always come from the same immutable commit without a caller-controlled checkout.
code_refas an ignored compatibility input until the first release containing this change is promoted, so callers pinned to v0.10.0 retain their existing behavior. #286 tracks removing this compatibility wiring after promotion.