跳到正文
cccskills
免费在 GitHub 公开

github-fix-failed-workflow

Fix failed GitHub Actions runs through diagnosis, implementation, and verification, or create and edit .github/workflows/*.yml and *.yaml files. Use for GitHub Actions repair requests, not routine CI status checks.

中文简介正在准备中。当前显示原文说明。

yaakaito/env星标 3(GitHub 3 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.6 KB
  • references/workflow-files.md1.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Fix GitHub Actions Workflows

Explicit invocation of this skill or a request to fix a GitHub Actions failure calls for diagnosis, an actual fix, and verification. Continue until the failure is resolved and verified, or a concrete blocker prevents progress. Do not stop at findings or ask whether to apply the fix. Stop after diagnosis only when the user explicitly limits the task to investigation or prohibits changes.

Carry forward authorization already established in the conversation, including pushing changes and remote validation. Do not ask again for ordinary steps covered by that authorization. If missing access, a destructive operation, or an action outside the task blocks progress, identify the specific blocker and complete the remaining work that can proceed.

Read Workflow File Guidelines when creating or editing workflow YAML. Source-only fixes and investigation-only tasks do not need that reference.

Inspect a Run

Select the repository, branch or PR, and workflow from the request and repository context. Do not substitute the latest repository-wide failure for the requested run. Useful commands:

gh run list --branch <branch> --workflow <workflow_file> --json databaseId,headSha,status,conclusion,url
gh run view <run_id> --json headSha,headBranch,workflowName,event,attempt,status,conclusion,url
gh run view <run_id> --log-failed

Use only the filters needed to identify the target. Inspect the relevant job details when failed-step logs are absent or insufficient. Read source, dependency files, and workflow configuration implicated by the failure; distinguish the observed error from a suspected cause.

When the user explicitly requests investigation only, report the run URL, revision, result, and evidence for the diagnosis. Identify missing logs or access when they prevent a conclusion.

Repair and Verify

Apply the fix to the workflow or source responsible for the failure, run the relevant local checks, and verify the result in GitHub Actions. A proposed patch or a diagnosis alone does not complete a repair request.

  • For a transient failure supported by the logs, rerun the failed jobs with gh run rerun <run_id> --failed. A repeated failure calls for renewed diagnosis, not repeated retries without new evidence.
  • After a code change, an old run's rerun still tests the old revision. Push the fix and use the workflow's configured trigger to obtain a run for that revision; a push does not always trigger it. Do not add a trigger merely to verify a change.
  • Match the new run's workflow, event, and headSha to the revision being verified. Use gh run list --commit <sha> where applicable, and gh run watch <run_id> --exit-status to await the selected run. For PR events, account for a tested merge revision and identify its relationship to the PR head.
  • If the new run fails, inspect its logs, apply the next fix, and verify again. Continue until the targeted failure is resolved or a concrete blocker prevents further work; do not repeatedly rerun without new evidence. Do not call the fix verified from an older successful run, a pending run, or local checks alone.

Report the cause, applied change, local checks, and confirming run URL with its tested revision and conclusion. If a blocker prevents remote verification, state what remains unverified and the exact action or access needed to finish.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create, update, or review Architecture Decision Records (ADRs) using the project's conventions. Use when asked to record an architecture decision or work on an ADR; not for general design discussion without a requested record.

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

agents-md

免费

Create, edit, or review AGENTS.md and CLAUDE.md repository instructions. Use for agent instruction setup and structure advice, not ordinary code changes that merely read those files.

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

dig

免费

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking or requests an in-depth interview with dig.

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

discuss

免费

Discuss ideas and design choices before implementation, without editing files.

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

Clone 済みのこの環境リポジトリのルートで実行し、setup.yaml(唯一の真実)と dotfiles/、skills/ を基準に端末上の dotfiles、Claude/Codex skills、関連 CLI 設定を安全に同期・更新・整理する。Use when the user asks to set up, reconcile, migrate, update, clean, prune, or merge this repository's dotfiles or skills with an existing terminal, especially when existing local files must be inspected before applying repository versions.

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

remote の rebase や force-push 後に diverge した gh-stack を診断し、local state を退避して remote に合わせて再構築する。履歴書き換えが疑われる non-fast-forward の調査と復旧に使う。通常の sync や一般の Git branch 管理には使わない。

中文简介正在准备中。当前显示原文说明。

yaakaito/env32026年10月27日 更新

查看 yaakaito 的全部技能

报告此技能的问题