Cursor rule
.cursor/rules/fixing-github-actions-builds.mdcWhen the Github Actions build is broken
Cursor rules
Quality
81/100
Scores the file, not the repository.Length
388 words
13 headings · 4 code blocksRepository
24
— · pushed 41 days agoLast changed
3 days ago
First indexed 3 days ago.1234567# Fixing Broken GitHub Actions Builds89## Purpose1011This guide documents the process for diagnosing and fixing broken GitHub Actions builds12using the `gh` CLI.1314## Prerequisites1516### Check if gh is installed1718First, verify the GitHub CLI is installed:1920```bash21gh --version22```2324### If gh is not installed2526Politely stop and guide the developer:2728> The GitHub CLI (`gh`) is not installed. Let's get that set up first!29>30> Installation (macOS):31>32> ```bash33> brew install gh34> gh auth login35> ```36>37> Follow the prompts to authenticate with GitHub. Once complete, we can proceed with38> debugging the build!3940## Diagnostic Workflow4142### Step 1: List Recent Workflow Runs4344```bash45gh run list --limit 546```4748Identify the failed run (marked with `X` or `failure` status). Note the run ID.4950### Step 2: Get Failed Logs5152```bash53gh run view <run-id> --log-failed | cat54```5556This shows ONLY the logs from failed steps. Analyze these logs to identify the root57cause.5859### Step 3: Reproduce Locally6061Based on the error in the logs, reproduce the failure locally to verify the fix.6263### Step 4: Make the Fix6465Edit the relevant files to fix the issue identified in the logs.6667### Step 5: Verify Locally6869Test the fix thoroughly to ensure it resolves the issue.7071### Step 6: Report to Developer7273DO NOT commit or push changes!7475Report to the developer:7677> Build issue fixed!78>79> Changes made:80>81> - `path/to/file`: Description of change82>83> Next steps:84>85> 1. Review the changes with `git status` and `git diff`86> 2. Test locally if desired87> 3. Commit and push when ready88> 4. Monitor the new build with `gh run watch`8990## Integration with Cursor9192When a developer says "the build is broken" or "fix the GitHub Actions build":93941. Run `gh --version` to verify installation (stop if not installed)952. Run `gh run list --limit 5` to see recent runs963. Identify the failed run ID974. Run `gh run view <run-id> --log-failed | cat` to get error details985. Analyze the logs and identify root cause996. Fix the issue locally1007. Verify the fix works1018. Report back to developer with changes and next steps102103Remember: We diagnose and fix, the developer commits and pushes!104
Also in TechNickAI/ai-coding-config
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechNickAI/ai-coding-config.cursor/rules/git-commit-message.mdc · 24 | Cursor rules | archgitdeployment | 58/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/git-interaction.mdc · 24 | Cursor rules | testlint-formatstylearch+4 | 88/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/heart-centered-ai-philosophy.mdc · 24 | Cursor rules | no sections | 30/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/ruff-linting.mdc · 24 | Cursor rules | lint-format | 43/100 | 3 days ago | |
| TechNickAI/ai-coding-configAGENTS.md · 24 | AGENTS.md | stylearchgitdo-not+1 | 78/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/external-apis.mdc · 24 | Cursor rules | testtesting-strategyapi | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude-plugin/CLAUDE.md · 24 | CLAUDE.md | deployment | 25/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/AGENTS.md · 24 | AGENTS.md | archagent-behaviour | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/CLAUDE.md · 24 | CLAUDE.md | lint-formatstyletypestesting-strategy+1 | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/AGENTS.md · 24 | AGENTS.md | archdo-notagent-behaviour | 56/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/autonomous-development-workflow.mdc · 24 | Cursor rules | testlint-formatgitagent-behaviour | 77/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-review-standards.mdc · 24 | Cursor rules | testtypestesting-strategygit+2 | 59/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-style-and-zen-of-python.mdc · 24 | Cursor rules | lint-formatstyledocs | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/git-worktree-task.mdc · 24 | Cursor rules | lint-formatgitagent-behaviour | 38/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/naming-stuff.mdc · 24 | Cursor rules | style | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/prompt-engineering.mdc · 24 | Cursor rules | setuptestlint-formatstyle+6 | 57/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/trust-and-decision-making.mdc · 24 | Cursor rules | no sections | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/user-facing-language.mdc · 24 | Cursor rules | lint-formatstylearch | 66/100 | 3 days ago | |
| TechNickAI/ai-coding-configplugins/core/agents/CLAUDE.md · 24 | CLAUDE.md | testlint-formatarchgit+1 | 66/100 | 3 days ago | |
| TechNickAI/ai-coding-configplugins/core/skills/CLAUDE.md · 24 | CLAUDE.md | lint-formatagent-behaviour | 58/100 | 3 days ago |
Diff against .cursor/rules/git-commit-message.mdc Diff against .cursor/rules/git-interaction.mdc Diff against .cursor/rules/heart-centered-ai-philosophy.mdc Diff against .cursor/rules/ruff-linting.mdc Diff against AGENTS.md Diff against .cursor/rules/external-apis.mdc Diff against .claude-plugin/CLAUDE.md Diff against .claude/AGENTS.md Diff against .claude/CLAUDE.md Diff against .cursor/AGENTS.md Diff against .cursor/rules/autonomous-development-workflow.mdc Diff against .cursor/rules/code-review-standards.mdc Diff against .cursor/rules/code-style-and-zen-of-python.mdc Diff against .cursor/rules/git-worktree-task.mdc Diff against .cursor/rules/naming-stuff.mdc Diff against .cursor/rules/prompt-engineering.mdc Diff against .cursor/rules/trust-and-decision-making.mdc Diff against .cursor/rules/user-facing-language.mdc Diff against plugins/core/agents/CLAUDE.md Diff against plugins/core/skills/CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126 | Cursor rules | buildlint-formatstylearch+3 | 96/100 | 3 days ago |
