From 0d7f746097b52f1c7dd71cebd04e0cd598c2cb44 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 23 Oct 2024 23:51:17 +0900 Subject: [PATCH] .travis.yml: Skip document only commit and merge for bot Co-authored-by: Nobuyoshi Nakada --- .travis.yml | 6 ++++-- 1 file 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