[ci] Some fixes for aw workflows#34111
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Agentic Workflows configuration to fix workflow monitoring and add automated maintenance capabilities. The changes upgrade the gh-aw tooling from v0.43.19 to v0.46.0 and introduce new repository hygiene automation.
Changes:
- Changed ci-doctor workflow to monitor "maui-pr" (Azure DevOps pipeline name) instead of "CI"
- Added s/triaged label and automatic closing of older issues for daily status reports
- Introduced new agentics-maintenance workflow to close expired discussions, issues, and pull requests every 2 hours
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/daily-repo-status.md | Source configuration update: adds s/triaged label and close-older-issues: true flag |
| .github/workflows/daily-repo-status.lock.yml | Auto-generated workflow file updated by gh-aw v0.46.0 with new label configuration and tooling upgrades |
| .github/workflows/ci-doctor.md | Source configuration update: changes monitored workflow from "CI" to "maui-pr" |
| .github/workflows/ci-doctor.lock.yml | Auto-generated workflow file updated by gh-aw v0.46.0 with corrected workflow name and tooling upgrades |
| .github/workflows/agentics-maintenance.yml | New auto-generated maintenance workflow scheduled to run every 2 hours to close expired entities |
| .github/aw/actions-lock.json | New action dependency lock file tracking SHA pins for actions used in workflows |
| pull-requests: write | ||
| steps: | ||
| - name: Setup Scripts | ||
| uses: github/gh-aw/actions/setup@v0.46.0 |
There was a problem hiding this comment.
The action reference at line 52 uses a version tag without SHA pinning. While the PR description mentions adding an actions lock file for dependency management, this specific usage pattern differs from the auto-generated lock files which use SHA pinning (e.g., @f88ec26c65cc20ebb8ceabe809c9153385945bfe # v0.46.0). Consider whether this should follow the same pattern for consistency with other workflow files in the repository.
| uses: github/gh-aw/actions/setup@v0.46.0 | |
| uses: github/gh-aw/actions/setup@f88ec26c65cc20ebb8ceabe809c9153385945bfe # v0.46.0 |
Description of Change
This pull request introduces a new automated maintenance workflow for handling expired discussions, issues, and pull requests, as well as several updates to existing workflow configurations. The main focus is on improving repository hygiene and automation through scheduled jobs and enhanced issue management.
New maintenance workflow:
.github/workflows/agentics-maintenance.yml, a generated workflow that automatically closes expired discussions, issues, and pull requests every 2 hours usinggithub-scriptandgh-awsetup actions. This helps keep the repository clean and up-to-date..github/aw/actions-lock.jsonto lock action dependencies for the new maintenance workflow, ensuring consistent and reproducible action versions.Workflow configuration improvements:
.github/workflows/daily-repo-status.mdto add thes/triagedlabel to daily status issues and enabled automatic closing of older issues, streamlining issue triage and reducing clutter..github/workflows/ci-doctor.mdto monitor themaui-prworkflow instead ofCI, aligning diagnostic automation with the correct workflow.