github-actions-troubleshooting

Troubleshoot GitHub Actions workflows, particularly for Go projects. Diagnose failing workflows, distinguish between code and environment issues, interpret logs, and apply fixes for common CI/CD problems.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github-actions-troubleshooting" with this command: npx skills add irook661/github-actions-troubleshooting

GitHub Actions Troubleshooting Skill

Use the gh CLI and Git to diagnose and fix GitHub Actions workflow failures, particularly for Go projects. This skill helps identify whether failures are due to code issues or environment/configuration problems.

Workflow Analysis

Check the status of recent workflow runs:

gh run list --repo owner/repo --limit 10

View details of a specific failing workflow:

gh run view <run-id> --repo owner/repo

Get logs for failed jobs only:

gh run view <run-id> --repo owner/repo --log-failed

Distinguishing Issue Types

  1. Code Issues: Failures in compilation, tests, or linting that occur consistently across environments
  2. Environment Issues: Problems with dependency resolution, tool installation, or type-checking in CI that work locally

Common Go CI Fixes

Linter Configuration Issues

  • Look for "undefined" reference errors that indicate import resolution problems
  • Try minimal linter configs that disable type-checking linters
  • Use golangci-lint run --disable-all --enable=gofmt for basic syntax checking

Dependency Resolution

  • Verify go.mod and go.sum are consistent
  • Run go mod tidy to resolve dependency conflicts
  • Check that required dependencies are properly declared

Diagnostic Commands

Check specific workflow job logs:

gh run view --job <job-id> --repo owner/repo

Download workflow artifacts for inspection:

gh run download <run-id> --repo owner/repo

Troubleshooting Workflow

  1. Identify which jobs are failing and which are passing
  2. Examine error messages for clues about the nature of the issue
  3. Determine if the issue is reproducible locally
  4. Apply targeted fixes based on issue type
  5. Monitor subsequent workflow runs to verify resolution

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Olares Shared (olares-cli foundation)

Shared olares-cli foundation: profile model, first-time login (profile login with password + TOTP), bootstrapping a profile from an existing refresh token (p...

Registry SourceRecently Updated
Coding

Mistral Mcp Openclaw

Configure OpenClaw to use the community mistral-mcp stdio server for Mistral OCR, Codestral FIM, Voxtral audio, durable workflows, moderation, classification...

Registry SourceRecently Updated
651swih
Coding

mongolian-llm

【强制使用/零泄漏】任何请求涉及中文、传统蒙古文、西里尔蒙古文之间的翻译,蒙古语/蒙文对话,要求用蒙文输出,或输入包含传统蒙古文字符(Unicode U+1800–U+18AF)时,必须先读取本 SKILL.md 并按本文 API 流程执行;禁止凭模型自身语言知识直接翻译、改写或回答。调用成功后的可见最终回复必须...

Registry SourceRecently Updated
2690knixie
Coding

Olares Settings (olares-cli settings)

olares-cli settings command tree: profile-based reads of every section the SPA's Settings page exposes (https://docs.olares.com/manual/olares/settings/) plus...

Registry SourceRecently Updated