workflow: GitHub hooks automation for coding agents#621
Draft
workflow: GitHub hooks automation for coding agents#621
Conversation
Co-authored-by: oocx <584396+oocx@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate using GitHub hooks for workflow automation
workflow: GitHub hooks automation for coding agents
Mar 17, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds two GitHub Actions workflows that eliminate manual steps in the coding-agent workflow: label-to-assign and post-merge retrospective reminder.
Changes
.github/workflows/issue-copilot-assign.ymlissues.labeled(label =copilot)addAssigneesto assign the issue to@copilot, which auto-creates thecopilot/*branch + draft PR and starts the Workflow Orchestrator.github/workflows/pr-merge-retrospective.ymlpull_request.closed(merged=true,feature/*orfix/*head branch)docs/agents.mddocs/workflow/117-github-hooks-automation/tasks.mdChecklist
Merge method: Use Rebase and merge to maintain a linear history. The repository enforces rebase-only merges by default.
Create & merge guidance: Use
scripts/pr-github.sh createto create PRs, andscripts/pr-github.sh create-and-mergeto perform the merge (this script is the authoritative, repo-preferred tool for PR creation and merges). If you need to inspect/check the PR, use GitHub chat tools (github/*) as needed.Original prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.