/wip-blocker

Simple Github Action to block PRs with WIP status

MIT LicenseMIT

The simplest WIP blocker ever

Simple Github Action to block PRs with WIP status.

It works by comparing a list of keywords with your PR title and labels, and fails if there's a match (case-insensitive).

The action takes only one optional parameter: keywords. The default value is: 'wip rfc poc draft'.

Example usage:

    steps:
      - name: WIP Blocker
        uses: rafaelbeckel/wip-blocker

Usage with custom keywords:

    steps:
      - name: WIP Blocker
        uses: rafaelbeckel/wip-blocker
        with:
          - keywords: 'wip draft blockme'

Example excludind 'rfc poc draft':

    steps:
      - name: WIP Blocker
        uses: rafaelbeckel/wip-blocker
        with:
          - keywords: 'wip'