Skip to content
play

GitHub Action

wip-check

v1.1.0 Latest version

wip-check

play

wip-check

A GitHub Action tests if the PR contains any label or keyword in the title intended to prevent premature merging of the PR

Installation

Copy and paste the following snippet into your .yml file.

              

- name: wip-check

uses: tim-actions/wip-check@v1.1.0

Learn more about this action in tim-actions/wip-check

Choose a version

wip-check

A GitHub Action tests that the PR does not contain any label or keyword in the title intended to prevent premature merging of the PR

Usage

Add .github/workflows/sanity-check.yml with the following:

name: Sanity check
on:
  pull_request:
    types:
      - opened
      - synchronize
      - reopened
      - edited
      - labeled
      - unlabeled

jobs:
  pr_wip_check:
    runs-on: ubuntu-latest
    name: WIP Check
    steps:
    - name: WIP Check
      uses: tim-actions/wip-check@master
      with:
        labels: '["do-not-merge", "wip", "rfc"]'
        keywords: '["WIP", "wip", "RFC", "rfc"]'