Skip to content

A GitHub Action that ensures that your PR title matches the Conventional Commits spec

License

Notifications You must be signed in to change notification settings

amannn/action-semantic-pull-request

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-semantic-pull-request

Ensure your PR title matches the Conventional Commits spec.

This is helpful when you're using semantic-release with the Conventional Commits preset. When using the "Squash and merge" strategy, Github will suggest to use the PR title as the commit message. With this action you can validate that the PR title will lead to a correct commit message.

Example

name: "Lint PR"
on: [pull_request]

jobs:
  main:
    runs-on: ubuntu-latest
    steps:
      - uses: amannn/action-semantic-pull-request

About

A GitHub Action that ensures that your PR title matches the Conventional Commits spec

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published