{"id":15696257,"url":"https://github.com/ahmadnassri/action-commit-lint","last_synced_at":"2025-04-30T15:18:30.682Z","repository":{"id":37082311,"uuid":"287175887","full_name":"ahmadnassri/action-commit-lint","owner":"ahmadnassri","description":"commitlint your PRs with a default configuration auto applied","archived":false,"fork":false,"pushed_at":"2025-03-02T21:54:44.000Z","size":3397,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T15:18:11.365Z","etag":null,"topics":["action","commitlint","github"],"latest_commit_sha":null,"homepage":"","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/ahmadnassri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"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},"funding":{"github":["ahmadnassri"]}},"created_at":"2020-08-13T03:54:17.000Z","updated_at":"2025-03-02T21:54:47.000Z","dependencies_parsed_at":"2023-02-19T09:16:17.817Z","dependency_job_id":"95cd82c1-0a91-448d-ab83-0dffd7d34460","html_url":"https://github.com/ahmadnassri/action-commit-lint","commit_stats":{"total_commits":307,"total_committers":5,"mean_commits":61.4,"dds":"0.26058631921824105","last_synced_commit":"a8014bb71eab6392362ba29e7f0d1884e740c190"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-commit-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-commit-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-commit-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Faction-commit-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadnassri","download_url":"https://codeload.github.com/ahmadnassri/action-commit-lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251729735,"owners_count":21634281,"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","commitlint","github"],"created_at":"2024-10-03T19:08:32.749Z","updated_at":"2025-04-30T15:18:30.659Z","avatar_url":"https://github.com/ahmadnassri.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ahmadnassri"],"categories":[],"sub_categories":[],"readme":"# GitHub Action: commitlint\n\ncommitlint as a GitHub Action\n\n[![license][license-img]][license-url]\n[![release][release-img]][release-url]\n\n## Usage\n\n###### simple\n\n``` yaml\nname: commit-lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: ahmadnassri/action-commit-lint@v2\n```\n\n###### use different built-in config\n\n``` yaml\nname: commit-lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: ahmadnassri/action-commit-lint@v2\n        with:\n          config: angular\n```\n\n###### use your own rules\n\n``` yaml\nname: commit-lint\n\non: [push, pull_request]\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: ahmadnassri/action-commit-lint@v2\n        with:\n          config: ./path/to/commitlint.config\n```\n\n\u003e **Notes** *for custom rules*:\n\u003e\n\u003e - must use `action/checkout` first\\_\n\u003e - `config` is relative to your repo's root\n\u003e - config file format must follow [`commitlint` configuration format][]\n\n### Inputs \u0026 Outputs\n\n| output   | type   | required | default        | description                                               |\n|----------|--------|----------|----------------|-----------------------------------------------------------|\n| `token`  | input  | ❌       | `-`            | The GitHub token used to inspect the pull-request commits |\n| `config` | input  | ❌       | `conventional` | name of config to use, or path to config file             |\n| `report` | output | `N/A`    | `-`            | a JSON object with the full `commitlint` report data      |\n\n#### built-in configs\n\nthe following are available without any additional requirement\n\n- [`angular-type-enum`][]\n- [`angular`][]\n- [`conventional`][]\n- [`lerna-scopes`][]\n- [`patternplate`][]\n\n  [`commitlint` configuration format]: https://commitlint.js.org/#/reference-configuration\n  [`angular-type-enum`]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-angular-type-enum\n  [`angular`]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-angular\n  [`conventional`]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional\n  [`lerna-scopes`]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-lerna-scopes\n  [`patternplate`]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-patternplate\n\n----\n\u003e Author: [Ahmad Nassri](https://www.ahmadnassri.com/) \u0026bull;\n\u003e Twitter: [@AhmadNassri](https://twitter.com/AhmadNassri)\n\n[license-url]: LICENSE\n[license-img]: https://badgen.net/github/license/ahmadnassri/action-commit-lint\n\n[release-url]: https://github.com/ahmadnassri/action-commit-lint/releases\n[release-img]: https://badgen.net/github/release/ahmadnassri/action-commit-lint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Faction-commit-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadnassri%2Faction-commit-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Faction-commit-lint/lists"}