github-workflow-automation

Automates GitHub PR reviews, issue triage, and CI/CD pipelines with AI-assisted GitHub Actions workflows.

1|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/gonzoblasco/ai-developer-stack --skill github-workflow-automation-gonzoblasco
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-workflow-automation
Source: https://github.com/gonzoblasco/ai-developer-stack/tree/main/tools-automation/github-workflow-automation
Command: npx skills add https://github.com/gonzoblasco/ai-developer-stack --skill github-workflow-automation-gonzoblasco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually reviewing every pull request, labeling incoming issues, and running full test suites on every change consumes significant engineering time. This Skill provides ready-to-adapt GitHub Actions workflow patterns that delegate these repetitive tasks to AI-assisted automation. ## Core Features & Use Cases - Automated PR Review: A GitHub Actions workflow that fetches the PR diff, sends it to the Anthropic API, and posts a structured review comment covering summary, issues, suggestions, and security notes. - Issue Triage Automation: Auto-labels newly opened issues by type (bug, enhancement, question), severity, and affected area using AI analysis. - Smart Test Selection: Analyzes changed files in a PR to run only the relevant test suites, reducing CI time. - Use Case: A team receiving dozens of PRs weekly can add the AI review workflow so every pull request gets an immediate first-pass review with structured feedback before a human reviewer looks at it. ## Quick Start Set up an AI-powered pull request review workflow in my repository using GitHub Actions and the Anthropic API.

Frequently Asked Questions about github-workflow-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PR reviews with GitHub Actions and AI?▼

Create a workflow triggered on pull_request events that checks out the code, extracts the diff with git diff, and sends it to the Anthropic API via github-script. The response is posted back as a PR review comment using the GitHub REST API.

How to auto-label GitHub issues with AI?▼

Use a workflow triggered on issues opened events that analyzes the issue title and body, classifies it as bug, feature, or question, and applies labels like priority or area via github.rest.issues.addLabels. The workflow needs issues: write permission.

Can GitHub Actions run only tests affected by changed files?▼

Yes. Compare changed files against the base branch with git diff, map path prefixes like src/api/ to test suites, and output the selected suites as a job output. Downstream jobs then run only those suites.

What permissions does an AI PR review workflow need?▼

The workflow needs contents: read to check out code and pull-requests: write to post review comments. Store the Anthropic API key in GitHub Secrets and never hardcode it in the workflow file.

What are the limitations of AI-based code review in CI?▼

AI reviews depend on diff size limits and model context windows, so very large PRs may need truncation. AI feedback should complement, not replace, human review, especially for security-critical changes.