Skip to content

About

Set up Lefthook in GitHub Actions

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

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.1.0

Inputs

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

If version is not set or is empty, the latest release is installed.

Outputs

Name Description
version The version of Lefthook that was installed.

Example

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

- 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

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages

Generated from threeal/action-starter