Skip to content

Commit

Permalink
.travis.yml: Skip document only commit and merge for bot
Browse files Browse the repository at this point in the history
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
  • Loading branch information
nobu authored and junaruga committed Oct 24, 2024
1 parent f0b5802 commit 31d3537
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 31d3537

Please sign in to comment.