OneCommit
ActionsTags
(1)Validates pull request for maximum allowed commits
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: 2OneCommit is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.