| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(cli): add ci-workflow subcommand to generate GitHub Actions CI from repo config (#984) * feat: add ci-workflow subcommand for auto-generating GitHub Actions CI Generates .github/workflows/ci.yml from .no-mistakes.yaml's pinned commands, ensuring GitHub checks align with the local gate and eliminating manual setup. The workflow runs configured lint and test steps on push and pull_request. Fixes #475 #938. Complements #783. * fix: address review findings for ci-workflow generation - Resolve default branch dynamically instead of hardcoding main - Drop branch filter from pull_request trigger (run on all PRs) - Use block scalars for YAML safety with special characters - Handle empty commands.lint gracefully (combined document+lint) - Parse YAML semantically in tests instead of substring matching * docs: fix example to match actual generated workflow output The After example now correctly shows: - push: branches resolved dynamically (not hardcoded main) - pull_request: without branch filter (runs on all PRs) - run: block scalars with proper indentation * fix: properly indent multi-line commands in YAML block scalars - indentCommand now correctly indents continuation lines - tests use strings.Contains (standard library) - docs example updated to match actual generated workflow * no-mistakes(document): document ci-workflow subcommand in CLI reference * fix: symlink-safe, git-root-anchored, atomic ci-workflow writes Addresses Greptile security findings on PR #984: os.MkdirAll/os.WriteFile followed symlinks when creating .github/workflows/ci.yml, letting a repository-controlled symlink redirect the write outside the repo, and the command resolved paths relative to cwd instead of the git toplevel, so running it from a subdirectory could miss the real config or write a workflow GitHub would never discover. Also single-quotes the interpolated default branch name in the generated YAML and switches the overwrite to a temp-file+rename for atomicity. * no-mistakes(document): update ci-workflow docs for root-anchored quoted-branch writes | 11 小时前 | |
feat(docs): add custom hero CSS and update docs | 4 个月前 | |
docs: add documentation site and publishing workflow (#36) * feat(docs): add documentation site * no-mistakes(review): harden docs build and Astro version * no-mistakes(review): harden docs Pages deployment workflow * no-mistakes(review): align docs with canonical config keys * no-mistakes(review): fix docs accuracy for config and platform notes * no-mistakes(review): fix docs workflow and CI naming * no-mistakes(review): Scope docs workflow concurrency group * no-mistakes(document): Updated `README.md` to reflect the new documentation site introduced by this change and to document the new `make docs` and `make docs-preview` targets added to the Makefile. * no-mistakes: apply babysit fixes | 4 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 小时前 | ||
| 4 个月前 | ||
| 4 个月前 |