#GitHubActions
共 11 篇文章
GitHub Actions Self-hosted Runner 磁盘耗尽与 Docker 套接字卡死
排查自建 GitHub Actions Runner 节点因未清理构建镜像与工作区导致根分区 100% 耗尽、Docker 守护进程无响应的排错思路。
解决 GitHub Actions 报错 No space left on device 宿主空间耗尽修复
排查 GitHub Actions 运行 Docker 构建报 write /var/lib/docker/...: no space left on device,分析清理预装软件方案。
解决 GitHub Actions 报错 Self-hosted runner is offline 运行器失联修复
排查 自建 GitHub Actions 运行器机器(Self-hosted Runner)在执行构建中突发失联,流水线报 Waiting for a runner to pick up this job 或 runner went offline,分析 Runner 守护进程挂掉、网络代理断开与 Token 过期。
解决 GitHub Actions CI 运行报错 Process completed with exit code 1 失败步骤排查与调试
排查 GitHub Actions 工作流运行失败提示 Process completed with exit code 1,快速定位红叉步骤并配置调试断点与重试。
解决 GitHub Actions 报错 workflow_run secrets missing 安全隔离拦截修复
排查 使用 workflow_run 事件监听前序流水线完成后触发发布时,发现 Repository Secrets 无法读取(全部为空),导致部署失败,分析 workflow_run 默认上下文与安全隔离限制。
解决 GitHub Actions 报错 Resource not accessible by integration 权限拒绝修复
排查 GitHub Actions 工作流在自动添加 PR 标签、创建 Release 或发布 comment 时,API 返回 403 Resource not accessible by integration,分析 GITHUB_TOKEN 默认只读权限与 permissions 配置块。
解决 GitHub Actions 报错 concurrency cancel-in-progress 并发取消修复
排查 GitHub Actions 频繁将正在运行的构建自动标记为 Cancelled,分析 concurrency 组策略与 cancel-in-progress 开关。
解决 GitHub Actions 报错 Failed to save cache reserve already exists 缓存冲突修复
排查 actions/cache 在工作流结束尝试保存缓存时报错 Failed to save: ReserveCacheError: Another job has reserved this cache key,分析 并发矩阵构建(Matrix)共享相同 cache-key 导致的竞争锁。
解决 GitHub Actions 报错 The `set-output` command is deprecated 修复
排查 GitHub Actions 控制台大面积输出警告 The set-output command is deprecated and will be disabled soon,分析 GITHUB_OUTPUT 迁移。
解决 GitHub Actions 报错 Cache Service Url not found 缓存异常修复
排查 自建 runner (Self-hosted) 运行 actions/cache 报错 Cache Service Url not found,分析自建 Runner 缓存服务缺失解决方案。
解决 CI/CD 报错 job exceeded maximum execution time 超时
分析 CI/CD 流水线任务挂起超时报 exceeded maximum execution time 的卡死根因,提供缓存加速与超时阈值调优方案。


