greenled / no-merge-commits-check

Action for checking no merge commits are present in a pull request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No merge commits check

This action checks there are no merge commits in a pull request. A linear history could make it easier to review a pull request.

Example usage

- uses: actions/checkout@v2
  with:
    fetch-depth: 0
- uses: greenled/no-merge-commits-check@v1.0.1

Important note: Make sure you use actions/checkout@v2 with fetch-depth=0 (this will fetch the whole repository).

About

Action for checking no merge commits are present in a pull request

License:MIT License


Languages

Language:Shell 63.2%Language:Dockerfile 36.8%