A GitHub Action that downloads and sets up Lefthook on the runner.
- name: Setup Lefthook
uses: threeal/setup-lefthook-action@v1.0.0| Name | Description | Default |
|---|---|---|
version |
The version of Lefthook to install. | Latest version |
| Name | Description |
|---|---|
version |
The version of Lefthook that was installed. |
- 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-filesThis project is licensed under the MIT License.
Copyright © 2026 Alfi Maulana