Skip to content

Setup Lefthook

Actions

About

Set up Lefthook on the runner
v1.0.0
Latest
Star (1)

Setup Lefthook Action

A GitHub Action that downloads and sets up Lefthook on the runner.

Usage

- name: Setup Lefthook
  uses: threeal/setup-lefthook-action@v1.0.0

Inputs

Name Description Default
version The Lefthook version to install, or latest for the newest release. latest

Outputs

Name Description
version The version of Lefthook that was installed.

Example

- name: Setup Lefthook
  uses: threeal/setup-lefthook-action@v1.0.0
  with:
    version: 2.1.0

- name: Run pre-commit hooks
  run: lefthook run pre-commit --all-files

License

This project is licensed under the MIT License.

Copyright © 2026 Alfi Maulana

Setup Lefthook is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set up Lefthook on the runner
v1.0.0
Latest

Setup Lefthook is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.