-
Notifications
You must be signed in to change notification settings - Fork 28
refactor: simplify dev workflow for testing agent assigment #4755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR simplifies the dev workflow by replacing a complex discussion-closing workflow with a simpler agent assignment workflow. The change reduces the workflow from ~350 lines to ~10 lines in the markdown file and significantly simplifies the compiled YAML.
Key changes:
- Replaces
close_discussionsafe output withassign_to_agentsafe output - Removes extensive threat detection logic (Ollama/Llama Guard 3 scanning)
- Removes custom Serena MCP tool configuration
- Simplifies bash tool configuration to wildcard access
- Updates permissions and job dependencies to match new functionality
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/dev.md |
Simplified workflow definition: removed concurrency config, threat detection, discussion closing logic; added wildcard bash tools and assign-to-agent safe output |
.github/workflows/dev.lock.yml |
Compiled YAML reflecting simplified workflow: removed Ollama threat scanning steps, Go/Python/uv setup, Serena MCP server, discussion closing job; added agent assignment job with GraphQL mutations and permission handling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot Analyze https://github.com/githubnext/gh-aw/actions/runs/19675058618/job/56353957110 and fix the issue in assign-to-agent.cjs. For the graphql call that uses octokit with a new token |
OctokittogetOctokitfor performing GraphQL mutations in both the main and fallback agent assignment logic.