Skip to content

threeal/setup-lefthook-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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 version of Lefthook to install. Latest version

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

About

Set up Lefthook in GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Generated from threeal/action-starter