Skip to content

Reject a pull request with "fixup" commits or "WIP" title

Notifications You must be signed in to change notification settings

Dcode-Evo/actions-wip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP and fixup Github Action

Check presence of "WIP" in PR title and commits starting with "fixup" or "wip".

Will fail to prevent merging:

  • if title starts with (case insensitive):
    • [WIP] , WIP
  • if any commit starts with (case insensitive):
    • wip , --wip , fixup! , --fixup , fixup , !fixup , [wip], [fixup]
name: WIP/Fixup
on:
   pull_request:
      types: [ opened, synchronize, reopened, edited ]

jobs:
   check:
      runs-on: ubuntu-latest
      steps:
         -  uses: actions/checkout@v2
         -  uses: Dcode-Evo/[email protected]

About

Reject a pull request with "fixup" commits or "WIP" title

Resources

Stars

Watchers

Forks

Packages

No packages published