Docs and CI examples pin v0.1.0, whose action.yml does not load and which lacks most documented features
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- Meio dia
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Documentação
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, go
- Domínio
- ci-cd, documentation, release
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Go
- Estrelas
- 0
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/Spackle
-
enhancement good first issue severity: low
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
TMHSDigital/Spackle#139 ·
-
enhancement good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
TMHSDigital/Spackle#138 ·
-
documentation good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
TMHSDigital/Spackle#135 ·
-
bug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
TMHSDigital/Spackle#131 ·
-
runs and runs compare print target text without the control-character cleaning the reports useAbertabug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
TMHSDigital/Spackle#129 ·
Todas as issues de TMHSDigital/Spackle
Issues semelhantes
-
bug raised-by:reviewer
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
medici-finance/assay#7655 ·
Mantenedores costumam responder em até 1 dia
-
helm chart: make DaemonSet pod affinity configurable via values.yamlTalvez já em andamento @Young-Zen assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
flannel-io/flannel#2632 ·
Mantenedores costumam responder em até 6 dias
-
go-vulnerability security-scan
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
teslashibe/agent-go#36 ·
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
nwverse/persona#15194 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug flaky-test
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
rosskukulinski/tailworks#411 ·
Mantenedores costumam responder em até 1 dia