https://github.com/dislick/pull-request-name-linter-action
https://github.com/dislick/pull-request-name-linter-action
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dislick/pull-request-name-linter-action
- Owner: dislick
- License: mit
- Created: 2020-03-22T20:02:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T16:48:39.000Z (over 3 years ago)
- Last Synced: 2025-02-23T21:35:35.287Z (over 1 year ago)
- Language: TypeScript
- Size: 615 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pull-request-name-linter-action
[](https://github.com/JulienKode/pull-request-name-linter-action/actions)
Lints pull request names with [commitlint](https://commitlint.js.org).
## Usage
```yaml
name: lint-pr-names
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dislick/pull-request-name-linter-action
```
## Limitations
- Only works when storing commitlint config in `commitlint.config.js`
- You cannot use `extend` in commitlint config