Docs and CI examples pin v0.1.0, whose action.yml does not load and which lacks most documented features
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, go
- 領域
- ci-cd, documentation, release
調査の方向性
Start with action.yml around line 24, where the upload-sarif description breaks YAML, and with the CHANGELOG.md entry for the Unreleased fix. Then find every uses: TMHSDigital/[email protected] and version: v0.1.0 pin in README.md, docs/ci.md and docs/index.html. Done when the release that the pins name has a parseable action.yml, and the docs either point at that tag or flag post-release features. Cutting the release itself is maintainer work.
索引モデルが issue の本文から書いたものです。
説明
Summary
Every CI example the project publishes pins TMHSDigital/[email protected], and every install path resolves to v0.1.0. The action.yml at that tag is not valid YAML, so the documented workflow fails before it scans anything. The user docs on main also describe many features, flags, config keys and Action inputs that v0.1.0 does not have. Most of this is fixed by cutting the pending release and moving the pins.
Where
README.md:278,docs/ci.md:28,docs/ci.md:36,docs/ci.md:79,docs/ci.md:90,docs/index.html:485(uses: TMHSDigital/[email protected])action.yml:15-18(versiondefaults tolatest, which is v0.1.0)README.md:39,README.md:53(go install ...@latestresolves to v0.1.0)docs/config.md,docs/ci.md,docs/mcp.md(features documented as current)CHANGELOG.md:77(the action.yml fix is listed under Unreleased)
Details
git show v0.1.0:action.yml, line 24:
upload-sarif:
description: Upload the SARIF report to GitHub code scanning. Needs "security-events: write".
The unquoted : inside a plain scalar makes the file invalid YAML (mapping values are not allowed here, line 24, column 89). The CHANGELOG already records the fix ("The GitHub Action could not be loaded: action.yml was not valid YAML"), but only main has it. The only published release is v0.1.0; v0.1.1 is still a draft.
The docs on main also present Unreleased features as available. Only docs/ci.md:131 marks one as newer than v0.1.0 (diff-base / --since). A v0.1.0 binary built from the tag rejects the rest:
- The "every key" block in
docs/config.mdfailsspackle doctorwith "unknown keys: output.fail_on_confidence, scan, scan.disable_rules, scan.exclude, scan.include". spackle runs,spackle rules: unknown command.scan --changed,scan --fail-on-confidence,report --finding: flag not defined.- The v0.1.0 action has no
fail-on-confidence,diff-baseorspackle-dirinput and nohas-sarifoutput, thoughdocs/ci.md:55-73lists them alongside the released ones.
Impact
This is the main adoption path. Anyone who copies the CI workflow from the README, docs/ci.md or the Pages site gets a job that fails while loading the action. A user who installs the documented way and follows docs/config.md, docs/ci.md or docs/mcp.md hits exit-2 usage errors with no hint that the feature is newer than their binary. The documented --changed pre-commit hook blocks every commit, and setting fail-on-confidence in the Action makes every run exit 2.
Steps to reproduce
git show v0.1.0:action.yml > a.yml && python -c "import yaml; yaml.safe_load(open('a.yml'))": parse error at line 24.- Use the workflow at
README.md:267-281in any repository: the job fails while loading the action. go install github.com/TMHSDigital/spackle/cmd/spackle@latest, copy thedocs/config.md"every key" block intospackle.toml, runspackle doctor: exit 2, unknown keys.
Suggested fix
- Publish the pending release (the v0.1.1 draft, or a new tag cut from
main). - Move every
@v0.1.0andversion: v0.1.0inREADME.md,docs/ci.mdanddocs/index.htmlto the new tag. - Until releases keep pace with
main, say at the top ofdocs/config.md,docs/ci.mdanddocs/mcp.mdthat the pages describemain, and link the docs at the latest tag. Or mark each post-release key, flag, input and MCP tool "(after vX.Y.Z)", asdocs/ci.md:131already does. - Add a release-checklist step or CI check that loads
action.ymlfrom the tag the docs pin.
Acceptance criteria
- A published release contains a parseable
action.yml. - Every
uses: TMHSDigital/Spackle@...in the docs and on the Pages site points at a tag whose action loads. - Every flag, key, input and tool documented as current exists in the release that the default install path gives.
- A check fails when the pinned tag's
action.ymldoes not parse.
Getting started
- Relevant files:
README.md,docs/ci.md,docs/config.md,docs/mcp.md,docs/index.html,action.yml,CHANGELOG.md - How to run tests:
make test-short(Windows:.\make.ps1 test-short) - Related docs:
CONTRIBUTING.md
Related: #104 (stale hand-pinned version on the Pages site)
Filed by repo-audit/full-audit at fffef43. Severity: high. Effort: S. audit-key: documentation|README.md|action-pin-v0.1.0
- 主要言語
- Go
- スター
- 0
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/Spackle のほかの issue
-
enhancement good first issue severity: low
難易度 2/5 半日 初心者へのやさしさ 72/100
TMHSDigital/Spackle#139 ·
-
enhancement good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TMHSDigital/Spackle#138 ·
-
documentation good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Spackle#135 ·
-
bug good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TMHSDigital/Spackle#131 ·
-
bug good first issue severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Spackle#129 ·
TMHSDigital/Spackle の issue をすべて見る
似ている issue
-
bug raised-by:reviewer
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
medici-finance/assay#7655 ·
メンテナーはふだん 1 日以内に返信
-
helm chart: make DaemonSet pod affinity configurable via values.yaml対応中かも @Young-Zen が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
flannel-io/flannel#2632 ·
メンテナーはふだん 6 日以内に返信
-
go-vulnerability security-scan
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
teslashibe/agent-go#36 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nwverse/persona#15194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug flaky-test
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rosskukulinski/tailworks#411 ·
メンテナーはふだん 1 日以内に返信