Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
101 stars 28 forks source link

Feature Request: build on labels #4180

Open khuezy opened 6 years ago

khuezy commented 6 years ago

Description of feature:

I like to put PRs out for early reviews, so having test builds running automatically is a waste. It would be awesome if builds only run if there's some tag associated w/ the PRs.

EG: shippable.yml

labels:
    only: 
       - test-ready

When I feel that the PR is in a good state, I apply the test-ready label for the build.

manishas commented 6 years ago

@khuezy while your exact scenario isn’t supported, you can skip a build by including [skip ci] or [ci skip] in the commit message.

http://docs.shippable.com/ci/skip-builds/

manishas commented 6 years ago

Actually, what do you mean by label? How do you attach a label to a commit or PR?

khuezy commented 6 years ago

There is a label on right side of the PR.

IMO, having to add [skip ci] on every commit is tedious, especially when you do a lot of small commits.

If it were the inverse, that would be better.

eg: git commit -am 'final commit [build] to fire the build.