linux-system-roles / .github

Common github actions for the linux-system-roles organization
MIT License
1 stars 8 forks source link

Add pull request template and run commitlint on PR title only #35

Closed spetrosi closed 1 year ago

spetrosi commented 1 year ago

Adding the same template for any pull request. It is possible to add different templates, e.g. have different fields requested for fix and for feat, but that's pretty ugly, described in https://stackoverflow.com/questions/73771068/multiple-templates-for-pull-requests-on-github So users must do couple clicks to navigate to their template, it's not possible to set the template based on the PR title prefix. So it is easier to just have one template and then rely on contributers common sense to decide how to fill in the template.

Also, removing commits check from commitlint and only keep PR title check. Only PR title because the description can use all benefits of md formatting and e.g. have lines longer than 72 symbols etc.