Last active
December 4, 2018 06:02
-
-
Save nojimage/b64e737f7ca22a04b25da7e74cb2e9a9 to your computer and use it in GitHub Desktop.
Exclude run CI job on "WIP:" or "@wip" in the commit message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(...snip...) | |
- vendor/bin/phpunit --coverage-text --colors=never --exclude-group=external | |
except: | |
variables: | |
- $CI_COMMIT_MESSAGE =~ /(?:^WIP:)|@WIP/i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
コミットメッセージが
WIP:
で始まっているか@WIP
を含む場合は、指定CIジョブの実行を除外するやつhttps://docs.gitlab.com/ee/ci/yaml/#onlyvariables