feat: add prek pre-commit hooks and dependabot#1720
Conversation
613e4b3 to
7ea75ea
Compare
|
Added zizmor (GitHub Actions security audit) with relaxed configuration:
All 14 hooks now pass. |
7ea75ea to
a53f61f
Compare
Pre-commit hooks (via prek): - Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict - Security: detect-secrets, zizmor (GitHub Actions audit) - Linting: shellcheck, actionlint, oxlint, swiftlint - Formatting: oxfmt, swiftformat Dependabot: - npm and GitHub Actions ecosystems - Grouped updates (production/development/actions) - 7-day cooldown for supply chain protection Co-Authored-By: Claude Opus 4.5 <[email protected]>
a53f61f to
4cfeaf1
Compare
|
FWIW pre-commit hooks have been a god-send for getting a tighter build-test-deploy lifecycle with LLMs. This should ease the pain on your CI and get more people to PR you code that passes tests.
Also IMHO The checks-macos runner seems to be flaky. I think it may need a longer timeout. There's nothing we changed here that should have caused it to fail. |
|
Oh this is slick, thanks Dan! Appreciate the work! |
* feat: add prek pre-commit hooks and dependabot Pre-commit hooks (via prek): - Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict - Security: detect-secrets, zizmor (GitHub Actions audit) - Linting: shellcheck, actionlint, oxlint, swiftlint - Formatting: oxfmt, swiftformat Dependabot: - npm and GitHub Actions ecosystems - Grouped updates (production/development/actions) - 7-day cooldown for supply chain protection Co-Authored-By: Claude Opus 4.5 <[email protected]> * docs: add prek install instruction to AGENTS.md --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
* feat: add prek pre-commit hooks and dependabot Pre-commit hooks (via prek): - Basic hygiene: trailing-whitespace, end-of-file-fixer, check-yaml, check-added-large-files, check-merge-conflict - Security: detect-secrets, zizmor (GitHub Actions audit) - Linting: shellcheck, actionlint, oxlint, swiftlint - Formatting: oxfmt, swiftformat Dependabot: - npm and GitHub Actions ecosystems - Grouped updates (production/development/actions) - 7-day cooldown for supply chain protection Co-Authored-By: Claude Opus 4.5 <[email protected]> * docs: add prek install instruction to AGENTS.md --------- Co-authored-by: Claude Opus 4.5 <[email protected]>

Summary
Pre-commit hooks (14 total)
Dependabot (6 ecosystems)
///apps/macos/apps/shared/ClawdbotKit/Swabble/apps/androidAll ecosystems configured with:
Config files added
.pre-commit-config.yaml- Hook definitions.github/actionlint.yaml- Blacksmith runner labels + ignore patterns.github/dependabot.yml- All ecosystems with grouped updates + cooldown.shellcheckrc- Disable false positive ruleszizmor.yml- Relaxed security audit configTest plan
prek run --all-filespasses all 14 hooks🤖 Generated with Claude Code