Issue & PR Event Workflows
Issue and PR event workflows run automatically when specific GitHub events occur. They’re ideal for automated triage, intelligent labeling, code analysis, and quality checks that happen without any manual trigger.
When to Use Event-Triggered Workflows
Section titled “When to Use Event-Triggered Workflows”- Immediate response: Auto-triage new issues, welcome contributors
- Automated analysis: Accessibility audits, security scans
- Smart labeling: Classify issues/PRs based on content
- Quality gates: Run checks when PRs are opened or updated
Patterns in This Section
Section titled “Patterns in This Section”- IssueOps - Automate issue triage and management
- LabelOps - Use labels as workflow triggers
- ProjectOps - Automate project board management
- Triage & Analysis - Intelligent triage and problem investigation
- Coding & Development - PR assistance and code improvements
- Quality & Testing - Automated quality checks
Example Event Triggers
Section titled “Example Event Triggers”on: issues: types: [opened, labeled]on: pull_request: types: [opened, synchronize]on: pull_request_target: types: [labeled] branches: [main]Quick Start
Section titled “Quick Start”Add event-triggered workflows to your repository:
gh aw add githubnext/agentics/issue-triagegh aw add githubnext/agentics/pr-assistant