This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Add AI Copilot automation workflow with Workspace links and Chat reviews#4
Draft
Copilot wants to merge 4 commits into
Draft
Add AI Copilot automation workflow with Workspace links and Chat reviews#4Copilot wants to merge 4 commits into
Copilot wants to merge 4 commits into
Conversation
Co-authored-by: issdandavis <215328633+issdandavis@users.noreply.github.com>
Co-authored-by: issdandavis <215328633+issdandavis@users.noreply.github.com>
Co-authored-by: issdandavis <215328633+issdandavis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add instant Copilot workspace opening feature
Add AI Copilot automation workflow with Workspace links and Chat reviews
Nov 24, 2025
issdandavis
approved these changes
Nov 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements zero-config automation that posts Copilot Workspace links and Chat-powered reviews on every issue/PR, with optional agent assignment for autonomous code generation.
Changes
Workflow (
.github/workflows/ai-copilot-full.yml)@copilotwhen task keywords detected (fix, implement, add, update, bug, feature, create, build)copilot-workspace.githubnext.com/{owner}/{repo}?task={context}globalThis.fetchpolyfillCustom Agent (
.github/agents/copilot-automation-manager.agent.md)Documentation
Example Output
When issue created with "Fix login bug":
Security
GITHUB_TOKENonlyTesting
Create issue with "Add hello world feature" and verify automated comment appears within 60s with working Workspace link.
Original prompt
name: 🚀 Instant Copilot Workspace
on:
issues:
types: [opened]
pull_request:
types: [opened, synchronize]
permissions:
contents: read
issues: write
pull-requests: write
jobs:
open-copilot-workspace:
runs-on: ubuntu-latest
steps:
- name: 🤖 Open Copilot Workspace & Post Link
uses: actions/github-script@v7
with:
script: |
const event = github.context.payload;
let title, number, url;
name: 🤖 Auto Copilot Chat Reviews
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
issues: write
pull-requests: write
actions: write # For agent mode if assigning
jobs:
copilot-chat-review:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }} # Enables Copilot auth
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.