summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-10-23 23:51:17 +0900
committerJun Aruga <junaruga@users.noreply.github.com>2024-10-25 07:05:56 +0200
commit0d7f746097b52f1c7dd71cebd04e0cd598c2cb44 (patch)
tree01f4681173d0d776891bd52ccd6752f0f1af0f1a
parentd089826c0d3893239865ac876b293e51b05b5693 (diff)
.travis.yml: Skip document only commit and merge for bot
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11948
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 3bcf8167a2..236b87bced 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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