github-actions-lookup
Look up GitHub Actions run results for login-page CI/CD pipeline and collect failure details including logs, job outcomes, and diagnostics. Use when: investigating CI failures on main or add_security_standards branches, debugging workflow issues, checking latest PR build status, or collecting build
Install
mkdir -p .claude/skills/github-actions-lookup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15159" && unzip -o skill.zip -d .claude/skills/github-actions-lookup && rm skill.zipInstalls to .claude/skills/github-actions-lookup
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Look up GitHub Actions run results for login-page CI/CD pipeline and collect failure details including logs, job outcomes, and diagnostics. Use when: investigating CI failures on main or add_security_standards branches, debugging workflow issues, checking latest PR build status, or collecting build logs for troubleshooting.About this skill
GitHub Actions Run Lookup
Purpose
Fetch GitHub Actions workflow run results for the login-page repository with full failure diagnostics. Returns both summary and detailed logs to help debug CI/CD failures quickly.
Repository Context
- Owner: matthieumarshall
- Repo: login-page
- Current Branch: add_security_standards
- Main Workflows: CI Pipeline, Security & Compliance Scans, UI Tests, Unit Tests
When to Use
- CI failure investigation: "Why did my PR checks fail?"
- Workflow debugging: "Show me the full logs from that failed run"
- Status checking: "What's the latest build status for this PR?"
- Log collection: Gather detailed error traces and job output
- Build troubleshooting: Understand which steps failed and why
What It Returns
Basic Summary
- Workflow name and status
- Run ID and attempt number
- Trigger event and branch
- Direct link to GitHub Actions page
Detailed Logs (if available)
- Failed job names and conclusions
- Step-by-step output from failed jobs
- Full error messages and stack traces
- Job artifacts (if applicable)
How to Use
Option 1: Invoke Directly (Slash Command)
- Type
/github-actions-lookupin Copilot chat - Provide either:
- PR number:
18or#18 - Run ID:
23480036479(visible in GitHub Actions URL)
- PR number:
- The skill fetches the latest run for that PR, or the specific run if ID provided
Option 2: Auto-triggered in Relevant Contexts
The skill auto-loads when discussing:
- CI failures or build errors in this workspace
- GitHub Actions workflows
- GitHub check runs
- Pull request status
- Pipeline troubleshooting
Procedure
- Identify the run: Extract PR number or run ID from user input
- Fetch basic info: Call GitHub API to get workflow run summary
- Get run details: Retrieve job list and status for the run
- Collect logs: For failed jobs, fetch full step logs
- Format report: Compile summary + detailed logs in readable markdown
Resources
- Lookup script — Fetches Actions data via GitHub GraphQL/REST API
- Helper utilities — JSON parsing, markdown formatting, error handling
Example Prompts
- "Check the GitHub Actions for PR #18"
- "Why did the code quality checks fail on main?"
- "Show me the logs from run 23480036479"
- "What's the latest build status?"
- "Debug the security scan failure"
Requirements
- GitHub token: Must be configured (
GITHUB_TOKENenv var or VS Code GitHub extension) - Network access: Requires connection to api.github.com
- Repository context: Works best when run from within this repository workspace
Common Workflow Checks
The login-page CI pipeline includes:
- ✅ Code Quality Checks: Ruff formatting and linting
- ✅ Security & Compliance Scans: gitleaks, pip-audit, vulnerability scanning
- ✅ UI Tests: Playwright end-to-end tests
- ✅ Unit Tests: pytest with coverage
- ✅ Publish Pipeline Summary: Final validation step
Troubleshooting
"Ruff format check" failed
- Run:
uv run ruff format .