Update agentic workflows to gh-aw v0.42.7 best practices with engine configuration#192
Conversation
|
Deployment failed with the following error: Learn More: https://vercel.com/codestormhub?upgradeToPro=build-rate-limit |
Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
- Add labels for better workflow organization and filtering - Add tracker-id for asset tracking across all workflows - Add close-older-discussions to weekly-research for auto-cleanup - Add actions toolset and labels to ci-doctor for better diagnostics - Add expires field to ci-doctor and daily-repo-status for auto-cleanup - Add pull_requests and discussions toolsets to daily-repo-status - Optimize timeout for repo-ask workflow - Add missing permissions for better scope control - Fix typo in weekly-research description All workflows compile successfully with strict mode validation. Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the repo’s 4 gh-aw agentic workflows to align with gh-aw v0.42.7 conventions by adding organizational metadata, tightening safe-outputs policies, and expanding GitHub toolset access where needed.
Changes:
- Added workflow-level
labelsandtracker-idfields for organization and tracking. - Refined safe-outputs behavior (expiration/cleanup, comment limits, and weekly-research closing older discussions).
- Expanded GitHub toolsets + permissions (e.g.,
actions,pull_requests,discussions) and bumped generated lockfiles/actions to v0.42.7.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/weekly-research.md | Adds labels/tracker-id and enables closing older discussions; updates description text. |
| .github/workflows/weekly-research.lock.yml | Regenerated lockfile for v0.42.7 reflecting weekly-research frontmatter updates. |
| .github/workflows/repo-ask.md | Adds PR read permission, labels/tracker-id, toolsets update, safe-outputs max, and timeout reduction. |
| .github/workflows/repo-ask.lock.yml | Regenerated lockfile for v0.42.7 reflecting repo-ask updates. |
| .github/workflows/daily-repo-status.md | Adds discussions read/toolset, labels/tracker-id, and issue expiry/label refinements. |
| .github/workflows/daily-repo-status.lock.yml | Regenerated lockfile for v0.42.7 reflecting daily-repo-status updates. |
| .github/workflows/ci-doctor.md | Adds actions read/toolset, labels/tracker-id, and safe-outputs expiry/limits/labels. |
| .github/workflows/ci-doctor.lock.yml | Regenerated lockfile for v0.42.7 reflecting ci-doctor updates. |
| .github/workflows/agentics-maintenance.yml | Updates generated maintenance workflow to v0.42.7. |
| .github/agents/agentic-workflows.agent.md | Updates referenced gh-aw documentation links to v0.42.7. |
| safe-outputs: | ||
| create-discussion: | ||
| title-prefix: "${{ github.workflow }}" | ||
| category: "ideas" | ||
| close-older-discussions: true | ||
|
|
There was a problem hiding this comment.
close-older-discussions: true will modify existing discussions (by closing them), but later in the workflow instructions it says “no existing discussions should be adjusted.” Update the instructions text to match the new behavior (e.g., clarify that only older discussions may be closed automatically) so the agent prompt doesn’t contradict the workflow’s safe-outputs policy.
There was a problem hiding this comment.
Updated the workflow instructions to clarify that older discussions with the same title prefix may be automatically closed. The new text reads: "A new discussion will be created with your findings. Note: Older discussions with the same title prefix may be automatically closed to keep the discussion board organized."
Fixed in commit 62739d7.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Deployment failed with the following error: Learn More: https://vercel.com/codestormhub?upgradeToPro=build-rate-limit |
Added a configuration option to close older discussions.
|
|
||
| labels: [automation, daily, status-report] | ||
|
|
||
| tracker-id: "daily_status_2024" |
There was a problem hiding this comment.
The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "daily_status_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.
| tracker-id: "daily_status_2024" | |
| tracker-id: "daily_status_2026" |
There was a problem hiding this comment.
Updated tracker-id to "daily_status_2026" to reflect current year (February 2026).
Fixed in commit 62739d7.
.github/workflows/ci-doctor.md
Outdated
|
|
||
| labels: [automation, ci, diagnostics] | ||
|
|
||
| tracker-id: "ci_doctor_2024" |
There was a problem hiding this comment.
The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "ci_doctor_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.
| tracker-id: "ci_doctor_2024" | |
| tracker-id: "ci_doctor_2026" |
There was a problem hiding this comment.
Updated tracker-id to "ci_doctor_2026" to reflect current year (February 2026).
Fixed in commit 62739d7.
| - Configuration: https://github.com/github/gh-aw/blob/v0.42.5/.github/aw/github-agentic-workflows.md | ||
| - Configuration: https://github.com/github/gh-aw/blob/v0.42.7/.github/aw/github-agentic-workflows.md | ||
|
|
||
| close-older-discussions: true |
There was a problem hiding this comment.
The line "close-older-discussions: true" appears to be incorrectly placed in this agent definition file. This looks like frontmatter configuration that should be in a workflow .md file, not in the agent definition. This line should be removed as it's not valid syntax for agent definition files and will cause confusion.
| close-older-discussions: true |
There was a problem hiding this comment.
Removed the incorrectly placed "close-older-discussions: true" line from the agent definition file. This configuration belongs in workflow frontmatter, not agent definitions.
Fixed in commit 62739d7.
.github/workflows/weekly-research.md
Outdated
|
|
||
| labels: [automation, research, weekly] | ||
|
|
||
| tracker-id: "weekly_research_2024" |
There was a problem hiding this comment.
The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "weekly_research_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.
| tracker-id: "weekly_research_2024" | |
| tracker-id: "weekly_research_2026" |
There was a problem hiding this comment.
Updated tracker-id to "weekly_research_2026" to reflect current year (February 2026).
Fixed in commit 62739d7.
.github/workflows/repo-ask.md
Outdated
|
|
||
| labels: [automation, qa, interactive] | ||
|
|
||
| tracker-id: "repo_ask_2024" |
There was a problem hiding this comment.
The tracker-id uses "2024" but the current date is February 2026. Consider updating the tracker-id to "repo_ask_2026" to accurately reflect the current year and avoid confusion when tracking workflow assets over time.
| tracker-id: "repo_ask_2024" | |
| tracker-id: "repo_ask_2026" |
There was a problem hiding this comment.
Updated tracker-id to "repo_ask_2026" to reflect current year (February 2026).
Fixed in commit 62739d7.
|
@copilot apply changes based on the comments in this thread, apply changes based on the comments in this thread Review all the workflows properly and research all the latest github documentations and best practices and apply them. For all the AI Models use gpt-5-mini or gpt-4.1 |
- Update all tracker-ids from 2024 to 2026 (current year) - Add engine configuration with gpt-4.1 for weekly-research - Add engine configuration with gpt-5-mini for ci-doctor, daily-repo-status, and repo-ask - Fix weekly-research instructions to clarify auto-closing behavior - Remove incorrect line from agentic-workflows.agent.md - Fix bash tool configuration to use explicit 'bash: true' syntax All workflows compile successfully with strict mode validation. Co-authored-by: syed-reza98 <71028588+syed-reza98@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Applied all review feedback:
All workflows compile successfully with strict mode (0 errors, 0 warnings). Changes in commit 62739d7. |
Align all 4 agentic workflows with gh-aw v0.42.7 schema and best practices. Adds organizational features, auto-cleanup mechanisms, enhanced toolset configurations, and AI model specification.
Changes
Organizational improvements:
labels:field added to all workflows for categorization and filteringtracker-id:field added for asset tracking across issues/discussions/comments (updated to 2026 to reflect current year)Engine configuration:
weekly-research: Usesgpt-4.1model for comprehensive research analysisci-doctor: Usesgpt-5-minimodel for efficient failure diagnosticsdaily-repo-status: Usesgpt-5-minimodel for status report generationrepo-ask: Usesgpt-5-minimodel for Q&A responsesAuto-cleanup mechanisms:
weekly-research:close-older-discussions: true- closes up to 10 older discussions when posting new research (instructions updated to clarify this behavior)ci-doctor:expires: 14- auto-closes failure reports after 2 weeksdaily-repo-status:expires: 7- auto-closes status reports after 1 weekEnhanced toolsets:
ci-doctor: addedactionstoolset +actions: readpermission for workflow run analysisdaily-repo-status: addedpull_requestsanddiscussionstoolsets for comprehensive activity reportingrepo-ask: addedpull_requeststoolset for PR context supportSafe-outputs refinements:
ci-doctor: addedlabels: [bug, ci-failure, automated]to created issues,max: 3for commentsdaily-repo-status: addedautomatedlabel to created issuesrepo-ask: addedmax: 1for single-response guarantee, reduced timeout 20→15minConfiguration fixes:
close-older-discussions: trueline from.github/agents/agentic-workflows.agent.mdbash: truesyntaxAll workflows compile with
gh aw compile --strict(0 errors, 0 warnings).Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.