Skip to content

feat(action): add install-only input#31

Merged
blairham merged 1 commit into
mainfrom
feat/action-install-only
Jul 3, 2026
Merged

feat(action): add install-only input#31
blairham merged 1 commit into
mainfrom
feat/action-install-only

Conversation

@blairham

@blairham blairham commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Adds an install-only input (default false, existing behavior unchanged). When true, the action installs the binary onto PATH (and still optionally caches) but skips the pre-commit run step.

Motivation: pinpredict's central pre-commit-advisory.yml is adopting this action as its pre-commit provider, but it drives pre-commit itself — a diff-scoped run --from-ref/--to-ref whose output feeds a sticky PR comment, and a push-to-main install-hooks cache-seed that deliberately never executes hooks. Those need the binary on PATH without the action's own run.

🤖 Generated with Claude Code

Lets workflows that drive pre-commit themselves (diff-scoped runs,
install-hooks cache seeding, custom log capture) use the action purely
to install the binary onto PATH. Default false — behavior unchanged.
@blairham
blairham merged commit 2c62c97 into main Jul 3, 2026
5 checks passed
@blairham
blairham deleted the feat/action-install-only branch July 3, 2026 17:25
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