mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Provide way to force CI run
Usually we only run CI on master or on pull requests that are based on master, but this adds a way to bypass this check for specific commits. If you add "[ci run]" or "[run ci]" to a commit then this will force a build on a branch, even if there is no PR for it.
This commit is contained in:
parent
4dab96cdb1
commit
bf1f986b20
1 changed files with 1 additions and 3 deletions
|
@ -38,6 +38,4 @@ before_install:
|
|||
- gem install bundler -v '< 2' --no-document
|
||||
install: "bundle install --jobs=3 --retry=3"
|
||||
script: "bundle exec rake"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
if: branch = master OR commit_message =~ /\[ci run\]/ OR commit_message =~ /\[run ci\]/
|
||||
|
|
Loading…
Reference in a new issue