Skip to content

ianwremmel/prevent-nopush-commits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prevent "nopush" Commits

This action prevents you from merging commits that start with #no-push or #nopush.

Usage

An example workflow to prevent #no-push commits follows:

on: push
name: Validate
jobs:
  build:
    name: ianwremmel/prevent-nopush-commits
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: ianwremmel/prevent-nopush-commits@v1.0.1

About

Prevent merging #no-push commits

Resources

License

Stars

Watchers

Forks

Packages

No packages published