.travis.yml: Skip document only commit and merge for bot

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
Nobuyoshi Nakada 2024-10-23 23:51:17 +09:00 committed by Jun Aruga
parent d089826c0d
commit 0d7f746097
Notes: git 2024-10-25 05:06:16 +00:00

View File

@ -11,9 +11,11 @@
# https://github.com/ruby/ruby/wiki/CI-Servers#travis-ci
# We enable Travis on the specific branches or forked repositories here.
# https://docs.travis-ci.com/user/conditions-v1
if: >-
(repo != ruby/ruby OR branch = master OR branch =~ /^ruby_\d_\d$/)
AND (commit_message !~ /\[DOC\]/)
(fork OR branch = master OR branch =~ /^ruby_\d_\d$/)
AND (commit_message !~ /(\[DOC\]|Document)/)
AND NOT (type = 'push' AND sender =~ /\[bot\]/)
language: c