Github action to check Pull Request title based on JS Regexp
This action in really simple and use Github Action core library base on event of your pull requests No need to install anything on your runner to use it. Simple, fast, reliable π
This action allows you to include a title check of a pull request automatically. This action only works on pull_request
events.
To use it, add the following steps in your workflow:
steps:
- uses: Slashgear/[email protected]
with:
regexp: "([a-z])+" # Regex the title should match.
steps:
- uses: Slashgear/[email protected]
with:
regexp: "([a-z])+" # Regex the title should match.
flags: "i" # Flags to add to the regexp
steps:
- uses: Slashgear/[email protected]
with:
regexp: "(feat|fix|docs): .++" # Regex the title should match.
helpMessage: "Example: 'feat: example of title'"
π€ Slashgear
- Website: https://blog.slashgear.dev/
- Twitter: @Slashgear_
- Github: @Slashgear
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a βοΈ if this project helped you!
Copyright Β© 2020 Slashgear.
This project is MIT licensed.
This README was generated with β€οΈ by readme-md-generator