{"id":25714055,"url":"https://github.com/lintje/action","last_synced_at":"2026-03-02T16:40:05.238Z","repository":{"id":40047727,"uuid":"507341836","full_name":"lintje/action","owner":"lintje","description":"GitHub Action for Lintje, the Git Linter for people. Validate your commits and branches using GitHub Actions with ease.","archived":false,"fork":false,"pushed_at":"2025-02-21T13:27:50.000Z","size":2420,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T20:12:13.059Z","etag":null,"topics":["action","actions","ci","git","github-actions","linter","utilities"],"latest_commit_sha":null,"homepage":"https://lintje.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lintje.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-25T15:05:23.000Z","updated_at":"2025-02-21T13:27:53.000Z","dependencies_parsed_at":"2024-05-02T19:31:30.706Z","dependency_job_id":"991f42bb-ab26-48ec-9042-5c52b8b507e4","html_url":"https://github.com/lintje/action","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.07407407407407407,"last_synced_commit":"210c9fa687a254791881ef2884fc01f2012fbe61"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lintje%2Faction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lintje%2Faction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lintje%2Faction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lintje%2Faction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lintje","download_url":"https://codeload.github.com/lintje/action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251849625,"owners_count":21653914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","ci","git","github-actions","linter","utilities"],"created_at":"2025-02-25T12:27:56.375Z","updated_at":"2026-03-02T16:40:00.194Z","avatar_url":"https://github.com/lintje.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lintje GitHub Action\n\nValidate Git commits on every push with GitHub Actions. Learn more about Lintje\non the [Lintje.dev website][website].\n\n\u003cdiv align=\"center\"\u003e\n  \u003cb\u003e\u003ca href=\"https://lintje.dev\"\u003eLintje.dev website\u003c/a\u003e | \u003ca href=\"https://github.com/marketplace/actions/lintje\"\u003eLintje on GitHub marketplace\u003c/a\u003e\u003c/b\u003e\n\u003c/div\u003e\n\n---\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Usage](#usage)\n    - [Checkout fetch-depth](#checkout-fetch-depth)\n    - [Tag version number](#tag-version-number)\n- [Configuration](#configuration)\n    - [Example configuration](#example-configuration)\n- [Development](#development)\n- [Code of Conduct](#code-of-conduct)\n\n## Overview\n\nLintje is a Git linter for people to help write individuals and team write\nbetter commits. Visit the [Lintje.dev website][website] to learn more about how\nto use Lintje and the [rules it uses to validate commits and\nbranches](https://lintje.dev/docs/rules/).\n\nUsing this GitHub Action Lintje will automatically validate the pushed Git\ncommit on the repository, and multiple commits if more than one was pushed.\n\nFor Pull Requests it will not validate all commits in the Pull Request.\nPreviously pushed commits may have already failed previous builds, which will\nalso fail the build when the branch is merged.\n\n## Usage\n\nCreate a new [GitHub Actions\nworkflow](https://docs.github.com/en/actions/quickstart) or add it to an\nexisting workflow that already does testing and linting steps.\n\nAdd steps that uses the `actions/checkout@v4` and\n`lintje/action@v0.11` actions like shown below.\n\n```yaml\nname: \"Your workflow name\"\non: [push]\n\njobs:\n  lintje: # Add a new job for Lintje\n    name: \"Lintje (Git linter)\"\n    runs-on: ubuntu-latest # Supported on ubuntu, macOS and Microsoft Windows\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          fetch-depth: 0 # Fetch depth is required\n      - uses: lintje/action@v0.11\n```\n\n### Checkout fetch-depth\n\nConfigure the `actions/checkout@v4` action to use `fetch-depth: 0` to fetch the\nentire Git history of the repository. By default the checkout action only\nfetches the last commit, which makes it impossible for Lintje to test multiple\ncommits if more than one commit was pushed. The `fetch-depth: 0` value means\nthe entire Git history gets fetched.\n\nYou can also choose to set it to another value that's high enough to fetch all\nyou'll ever push, like `fetch-depth: 100`, if you never push more than 100\ncommits at a time.\n\n### Tag version number\n\nThe tag for the Lintje action `v#.#.#` corresponds to the Lintje release with\nthe same version number. Upgrade Lintje in your build by updating the version\nnumber.\n\n## Configuration\n\nLike Lintje itself, the Lintje GitHub Action has minimal configuration.\nThe following configuration options are available.\n\n- `branch_validation` (Default value: `true`):\n    - Configure Lintje's Git branch validation.\n      Setting this to `false` is the equivalent of calling `lintje --no-branch`.\n      Read more about the [`--no-branch` CLI\n      flag](https://lintje.dev/docs/usage/#branch-validation).\n- `hints` (Default value: `true`):\n    - Configure Lintje's hints output. Hints will not fail the validation.\n      Settings this to `false` is the equivalent of calling `lintje --no-hints`.\n      Read more about the [`--no-hints` CLI\n      flag](https://lintje.dev/docs/usage/#hints).\n- `color` (Default value: `true`):\n    - Configure Lintje's colorized output.\n      Setting this to `false` is the equivalent of calling `lintje --no-color`.\n      Read more about the [`--no-color` CLI\n      flag](https://lintje.dev/docs/usage/#colorized-output).\n- `verbose` (Default value: `false`):\n    - Configure Lintje's verbose mode.\n      Setting this to `true` is the equivalent of calling `lintje --verbose`.\n      Read more about the [`--verbose` CLI\n      flag](https://lintje.dev/docs/usage/#verbose-output).\n\nRead more about [how to configure\nLintje](https://lintje.dev/docs/configuration/).\n\n### Example configuration\n\n```yaml\n- uses: lintje/action@v0.11\n  inputs:\n    branch_validation: false # Turn off branch validation. On by default\n    hints: false # Turn off hints. On by default\n```\n\n## Development\n\nTo update the Lintje GitHub Action to the latest Lintje release, follow these\nsteps:\n\n- Update the `src/version.js` file to the new version number.\n- Update this `README.md` file to use the new version number.\n- Update the `checksums_256.txt` file with the file included in the new release.\n- Update the GitHub Action to match any changed behavior or add new config\n  options.\n- Update the `CHANGELOG.md` file with the latest changes.\n- Tag the new release in Git using the same version number: `git tag v#.#.#`\n- Tag the new release in Git using the minor version number: `git tag v#.#`\n- Push the updated GitHub Action branches with the multiple tags.\n- Create a new release on GitHub and publish the new release to the\n  GitHub marketplace.\n\n## Code of Conduct\n\nThis project has a [Code of Conduct](CODE_OF_CONDUCT.md) and contributors are\nexpected to adhere to it.\n\n[website]: https://lintje.dev\n[installation]: https://lintje.dev/docs/installation/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintje%2Faction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flintje%2Faction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintje%2Faction/lists"}