Conversation
…comment safe output Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…view feedback Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
|
||
| This workflow creates an intelligent issue triage system that automatically responds to new issues with contextual guidance and assistance. | ||
|
|
||
| ## Key Benefits of Issue Ops |
There was a problem hiding this comment.
Removed the "Key Benefits of Issue Ops" section as requested. The guide now flows directly from the introduction to the Safe Output Architecture section. Commit: 6b8b94c
| contents: read | ||
| actions: read | ||
| safe-outputs: | ||
| add-comment: |
There was a problem hiding this comment.
Updated the bug report triage example to use add-labels instead of add-comment. The example now shows how to automatically add "bug" and "needs-info" labels to issues. Commit: 6b8b94c
| If the issue has sufficient detail, acknowledge it as a properly formatted bug report and indicate next steps. | ||
| ``` | ||
|
|
||
| ### Feature Request Classification |
There was a problem hiding this comment.
@copilot remove the rest of the page, keep it simple
There was a problem hiding this comment.
Removed all content after the bug report triage section to keep the guide simple and focused. The guide now contains just the core concepts and one practical example. Commit: 6b8b94c
… use add-labels example, keep content concise Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot revert JavaScript changes |
… commits Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Reverted all JavaScript changes in pkg/workflow/js/ files that were accidentally included in the previous commits. The files are now back to their original state before my changes. All tests pass and build succeeds. Commit: 91f6e97 |
|
@copilot merge main and update the syntax of needs.task to needs.activation |
… output Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…c02c # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
|
@copilot revert JavaScript files |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Merged main branch and updated the syntax from # Updated syntax:
Analyze this issue: "${{ needs.activation.outputs.text }}"All tests pass and build succeeds with the updated syntax. Commit: 9f8a42b |
The JavaScript files are already in their clean state. I verified that the current working tree is clean and matches the previous successful JavaScript revert (commit 5e54629). All tests pass and the build succeeds. No additional revert action was needed as the files are already correct. |
|
|
||
| Issue Ops workflows activate automatically when new issues are created in your repository. The AI agent analyzes the issue content, applies your defined logic, and provides intelligent responses through automated comments. | ||
|
|
||
| ```yaml |
There was a problem hiding this comment.
Fixed the markdown formatting by separating the YAML frontmatter from the markdown content. The workflow example now properly uses separate code blocks:
# YAML frontmatter section# Markdown workflow contentThis provides better syntax highlighting and readability. Commit: 6ba8c3f
|
|
||
| ### Automated Bug Report Triage | ||
|
|
||
| ```yaml |
There was a problem hiding this comment.
Fixed the markdown formatting by separating the YAML frontmatter from the markdown content in the bug report triage example. The workflow content is now properly marked as markdown instead of being mixed within the yaml block. Commit: 6ba8c3f
…m markdown content Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot revert last commit |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Reverted the last commit that separated YAML and markdown content into different code blocks. The workflow examples now use the original format where the YAML frontmatter and markdown content are within the same code block. All functionality remains intact. Commit: a7f9c8e |
This PR adds a streamlined Issue Ops guide to the documentation, demonstrating how to implement automated issue management using GitHub Agentic Workflows with issue created triggers and add-labels safe outputs.
Overview
Issue Ops transforms GitHub issues into powerful automation triggers, enabling intelligent workflows that automatically analyze, categorize, and respond to issues as they're created. This guide provides focused implementation patterns for building secure, automated issue labeling systems with proper restrictions and current API syntax.
Key Features
Issue Created Triggers: Shows how to configure workflows that activate automatically when new issues are opened using
on: issues: types: [opened].Add-Labels Safe Outputs: Demonstrates secure automated labeling through
safe-outputs: add-labels:configuration, which handles label assignment in separate jobs with appropriate permissions.Label Restrictions: Shows how to specify which labels the AI model is allowed to add using the
allowedparameter for enhanced security and control.Updated Syntax: Uses the current
needs.activation.outputs.textsyntax for accessing sanitized issue content instead of the deprecatedneeds.task.outputs.text.Security Architecture: Uses minimal permissions (
contents: read,actions: read) for the main AI job while safe outputs handle write operations securely.Content Structure
The simplified guide includes:
Example Workflow
Benefits
needs.activation.outputs.textsyntaxThe guide enables repository maintainers to create intelligent issue labeling systems with proper security controls, restrictions, and current API compatibility.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.