coder / coder/usgov-reference

Re-enable cosmetic yamllint rules after normalizing vendored manifests

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

To get CI green on the initial publish, `.yamllint` disables several cosmetic rules (`indentation`, `colons`, `braces`, `document-start`, `line-length`) that the vendored upstream manifests do not follow. Structural checks (syntax, duplicate keys, empty values, trailing whitespace) remain enabled.

**Action (optional, quality)**: progressively normalize the vendored YAML (consistent indentation, `---` document starts, brace/colon spacing) and re-enable the corresponding rules. `line-length` should stay disabled because some manifests embed machine-generated Grafana dashboard JSON on single long lines.

Context: see the CI setup in `.github/workflows/ci.yml` and `.yamllint`.

---
Generated by Coder Agents, on behalf of @ausbru87.

贡献指南

打开贡献指南

调研方向

从 .yamllint 和 .github/workflows/ci.yml 开始,然后检查当前违反外观规则的 vendored YAML 清单。在可行的情况下规范缩进、文档起始位置以及大括号和冒号周围的空格,重新启用这些规则,继续对生成的 dashboard JSON 禁用 line-length,并确认 CI 仍然通过。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, yaml
领域
ci-cd, devops
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。