Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 587 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 587 Bytes

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]