Skip to content

wip/action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2024
Oct 26, 2022
Nov 3, 2020
Nov 3, 2020
Nov 3, 2020
Jan 29, 2019
Dec 1, 2021
Oct 26, 2022
Nov 3, 2020
Jun 16, 2024
Apr 27, 2023

Repository files navigation

DO NOT MERGE – as an action.

Build Status

This GitHub Action sets a pull request status to pending if the title includes "WIP".

An example workflow looks like this (switch to the <> Edit new file tab when creating a new workflow and paste the code below):

name: WIP
on:
  pull_request:
    types: [opened, synchronize, reopened, edited]

jobs:
  wip:
    runs-on: ubuntu-latest
    steps:
      - uses: wip/action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Then to prevent PRs from being merged, enable the WIP (action) status check in your Settings > Branch > [Branch Name] > Protect matching branches > Require status checks to pass before merging

Contributing

I don't plan to add more features to it. It's only 10 lines of code, a great reference action to build one that matches your needs :)

License

Apache 2.0