Skip to content

Detect commits containing WIP #10

Closed

Description

@cmalard

Hello there,

Would it be possible to detect if a commit contains the word WIP ?

Context : I use OhMyZsh Git plugin wich easily create a commit named --wip-- [skip ci]

Activity

  1. gr2m commented on Oct 10, 2017

    @gr2m
    Collaborator

    yeah it would be, but it’s not yet implemented. Pull requests accepted :)
    You can deploy your own WIP bot instance easily using http://probot.glitch.me/ and then experiment with it

  2. Raul6469 commented on Feb 11, 2018

    @Raul6469
    Contributor

    Hi! Would you be interested to receive a PR that implements that? It would check if the PR is still WIP based on the last commit name if I correctly understood

  3. gr2m commented on Feb 11, 2018

    @gr2m
    Collaborator

    Hey @Raul6469, it's all yours :)

    The idea is to load all commit messages from the pull request. If any of them starts with WIP then set the status to pending

  4. Raul6469 commented on Feb 11, 2018

    @Raul6469
    Contributor

    Any of them? Once you have a commit containing WIP, how do you remove the wip status then?

  5. gr2m commented on Feb 11, 2018

    @gr2m
    Collaborator

    you clean up the commits locally and then git push --force origin branch-of-pull-request to update the commits in the pull request

    I use semantic-release for all my projects, so the commit messages are significant as they determine new releases automatically. I try to keep the commits in master very clean. I either squash & merge the pull request or clean up the commits manually before merging

  6. gr2m commented on Feb 12, 2018

    @gr2m
    Collaborator

    done via #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions