Repository navigation
Classify GitHub context wildcard projections as credential-bearing - #76980
Conversation
Co-authored-by: lpcox <[email protected]>
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
Reviewed the changed credential classification and regression coverage. The wildcard rule is appropriately applied through the shared credential-reference classifier, including prompt isolation and AWF environment filtering; the new tests cover grouped, serialized, case-insensitive, and control expressions. No actionable correctness or maintainability issues found in the changed lines.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the update extending credential classification to GitHub context wildcard projections.
No open issues 🎉
What changed in this PR
Closes #76979 by extending gh-aw’s static credential classification to recognize context-wide GitHub wildcard projections without changing expression resolution.
Changes:
- Routes
github.*and serialized forms through existing strict rejection and non-strict warning paths. - Adds regression coverage for workflow and engine environments, lock-file preservation, grouped/case-equivalent expressions, and safe controls.
| File | Description |
|---|---|
pkg/workflow/env_secrets_validation_test.go |
Tests wildcard validation, warnings, and lock-file preservation. |
pkg/workflow/credential_free_prompt.go |
Classifies GitHub context wildcard references as credential-bearing. |
pkg/workflow/credential_free_prompt_test.go |
Tests wildcard classification and preserves safe-expression controls. |
Review effort: Max (auto)
The failure was a timing-sensitive harness test, unrelated to this change. It passed five local reruns, and the CI retry passed the impacted Go test step. No code change was needed. |
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "69d85df050dd94b97710b354ba7b2be297fa7d6f",
"kind": "requested",
"schema_version": "1",
"state": "b1d3f2e4f35eaca5d58e5b079ca0573baac79b209b7d406cad57fcdcdef92337",
"work": [
"34f38971738f6a752a646bd7797a6c8d47fb096e4eb6f91e946a91255433c8c4",
"51e2287c3d1ee41b7e13769862add61dcd292a623cf943abc5968c984e246bcf",
"a121abdb6f7ec1d76bbf7f04ffacc47490c3a82a0a8351c53214073a3902577d"
],
"workflow": "pr-sous-chef"
}
|
…ntext-wildcard-projections Co-authored-by: gh-aw-bot <[email protected]>
Merged |
The reviewer’s Copilot CLI step timed out after 30 minutes and reported an infrastructure retry-budget failure; the log does not establish a PR-code cause. The failed run is for |
|
🎉 This pull request is included in a new release. Release: |
Workflow env validation recognized
githubandgithub.tokenas credential-bearing but missedgithub.*, includingtoJSON(github.*).vars.*andgithub.event.*.envand non-exemptengine.env; preserve supported engine credential bindings.This is conservative static classification, not a claim of runtime disclosure.