Use automatic model selection in issue auto-triage workflow - #4659
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f7fb5003-4d42-42fa-9f97-7c0986adb093
There was a problem hiding this comment.
🔵 Needs a closer look
The regenerated lock workflow introduces a large set of runtime/behavioral changes beyond the model pin, and should get a final human validation pass.
Pull request overview
Pins the SqlClient issue auto-triage agentic workflow to a supported GitHub Copilot model (gpt-5-mini) to address failures caused by an unavailable default model, and regenerates the compiled workflow lockfile.
Changes:
- Set
model: gpt-5-miniin the workflow frontmatter. - Add a strict-mode shell tool allowlist entry in the workflow frontmatter.
- Regenerate
issue-triage.lock.ymlwithgh-aw v0.88.2and update thegh-awsetup action lock; adjust.gitattributeshandling for workflow lock files.
File summaries
| File | Description |
|---|---|
| .github/workflows/issue-triage.md | Pins the Copilot model to gpt-5-mini and adds a bash tool allowlist in frontmatter. |
| .github/workflows/issue-triage.lock.yml | Regenerated compiled workflow reflecting the pinned model and updated gh-aw runtime/compiler output. |
| .github/aw/actions-lock.json | Updates the pinned github/gh-aw-actions/setup action to v0.88.2. |
| .gitattributes | Keeps lock files marked as generated (linguist), adjusts merge behavior by removing merge=ours. |
Review details
- Files reviewed: 3/4 changed files
- Comments generated: 0
- Review effort level: Lite
💡 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: fd89be7a-64f7-4d7a-bdd9-eb01183dd36f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fd89be7a-64f7-4d7a-bdd9-eb01183dd36f
There was a problem hiding this comment.
🔵 Needs a closer look
The regenerated workflow lock file introduces a large set of runtime changes that warrant final human review to ensure the GitHub Actions workflow still behaves as intended.
Review details
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
.gitattributes:5
- This PR also changes merge behavior for generated workflow lock files by removing
merge=ours, but the PR description doesn’t mention or explain this. Since it affects how future lockfile updates are handled during merges, it’d be helpful to document the intent here (or re-addmerge=oursif the change was accidental).
- Files reviewed: 4/5 changed files
- Comments generated: 0 new
- Review effort level: Lite
There was a problem hiding this comment.
🟢 Approval recommended
The workflow frontmatter change is consistently reflected in the regenerated lock file and the verification workflow/compiler pins are aligned, with no detected configuration or syntax issues in the changed regions.
Review details
- Files reviewed: 4/5 changed files
- Comments generated: 0 new
- Review effort level: Lite
Description
Configures the SqlClient issue auto-triage workflow with
model: auto, allowing the GitHub Copilot service to select a relevant available model server-side instead of pinning a specific model. This avoids failures caused by unavailable model defaults while allowing model selection to evolve without workflow updates.Adds the narrow shell allowlist required by strict-mode compilation, regenerates the workflow lock file with gh-aw v0.88.2, and aligns the lock-verification workflow to the same compiler version.
Issues
Fixes #4640
Testing
gh aw compile issue-triage --strict --no-emitgh aw compile issue-triage --strictVerify gh aw lock filescheck passedGuidelines
autoselectorPlease review the contribution guidelines: