Skip to content
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

OneCommit Github Action

Validates pull request for maximum allowed commits

Usage

Create a github workflow in the .github folder, e.g. .github/workflows/onecommit.yml:

name: OneCommiton: [pull_request]jobs:
oneCommit:
runs-on: ubuntu-latestname: restrict commit messagessteps:
- uses: actions/checkout@v1
- uses: Gaurang033/OneCommit@v1with:
max_commits: 2

About

Github action to limit commits per pull request

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages