Skip to content

ci: remove redundant CI workflow#118

Merged
smartwatermelon merged 1 commit intomainfrom
claude/remove-redundant-ci-779f2e0d
Apr 8, 2026
Merged

ci: remove redundant CI workflow#118
smartwatermelon merged 1 commit intomainfrom
claude/remove-redundant-ci-779f2e0d

Conversation

@smartwatermelon
Copy link
Copy Markdown
Owner

Summary

  • Remove .github/workflows/ci.yml — all 9 jobs (shellcheck, shfmt, markdownlint, yamllint, python-lint, html-lint, bats, detect-changes, configuration-validation) are fully covered by local pre-commit hooks
  • Remove CI-only config files (.shellcheckrc, .yamllint) — identical settings exist in ~/.shellcheckrc and are unused outside CI
  • Remove dead CI badge from README
  • Retain claude.yml and claude-blocking-review.yml (GitHub-event-driven, no local equivalent)

Cost impact: The bats job ran on macos-latest at 10x Linux runner cost ($0.08/min). All other jobs ran on ubuntu-latest. Every push and PR triggered these redundant checks.

Test plan

  • Verify pre-commit hooks cover all removed CI jobs (shellcheck, shfmt, markdownlint, yamllint, black, flake8, html-tidy)
  • Verify .shellcheckrc content matches global ~/.shellcheckrc
  • Verify no remaining files reference ci.yml
  • Confirm Claude workflows are unaffected
  • Verify no CI failures on this PR (only Claude workflows should run)

🤖 Generated with Claude Code

All ci.yml jobs (shellcheck, shfmt, markdownlint, yamllint, python-lint,
html-lint, bats, configuration-validation) are fully covered by local
pre-commit hooks. The macos-latest BATS runner was the most expensive at
10x Linux runner cost. Remove ci.yml and its CI-only config files
(.shellcheckrc, .yamllint), and the now-dead CI badge from README.

Retain claude.yml and claude-blocking-review.yml (GitHub-event-driven,
no local equivalent).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@smartwatermelon smartwatermelon merged commit ab5108e into main Apr 8, 2026
9 checks passed
@smartwatermelon smartwatermelon deleted the claude/remove-redundant-ci-779f2e0d branch April 8, 2026 00:27
smartwatermelon added a commit to smartwatermelon/archive-resolver that referenced this pull request Apr 10, 2026
The shellcheck job in ci.yml duplicates the global shell-lint pre-commit
hook (`~/.config/pre-commit/config.yaml` runs `lint-shell.sh` which
invokes shellcheck on every commit). Local multi-step review (Phase 2)
covers the same ground for any commit pushed via the authorized workflow.

Keep the syntax and dry-run jobs — they validate mirrors.txt format and
exercise install.sh under Linux dry-run, neither of which is covered by
local hooks. Also keep release.yml's pre-release shellcheck step as a
belt-and-suspenders safeguard before publishing tagged releases.

Update CLAUDE.md "CI workflows" section so the description matches
reality and notes where shellcheck now lives.

Same pattern as smartwatermelon/mac-server-setup#118 and
mac-dev-server-setup#25.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
smartwatermelon added a commit to smartwatermelon/archive-resolver that referenced this pull request Apr 10, 2026
The shellcheck job in ci.yml duplicates the global shell-lint pre-commit
hook (`~/.config/pre-commit/config.yaml` runs `lint-shell.sh` which
invokes shellcheck on every commit). Local multi-step review (Phase 2)
covers the same ground for any commit pushed via the authorized workflow.

Keep the syntax and dry-run jobs — they validate mirrors.txt format and
exercise install.sh under Linux dry-run, neither of which is covered by
local hooks. Also keep release.yml's pre-release shellcheck step as a
belt-and-suspenders safeguard before publishing tagged releases.

Update CLAUDE.md "CI workflows" section so the description matches
reality and notes where shellcheck now lives.

Same pattern as smartwatermelon/mac-server-setup#118 and
mac-dev-server-setup#25.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant