summaryrefslogtreecommitdiff
path: root/.github/workflows/compilers.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-29 00:02:07 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-29 00:22:26 +0900
commit0a9cbe8562d9a58ec129b34a5bfda20cee3283df (patch)
tree7235d577a39ce11a7f28b71374c4648e471db44a /.github/workflows/compilers.yml
parentd51ba1e1be3ecbe5a02e4463f151e178de1c2a6e (diff)
Skip tests if only document files changed
Diffstat (limited to '.github/workflows/compilers.yml')
-rw-r--r--.github/workflows/compilers.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index eb287d1b2c..33f31ba20a 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -1,6 +1,16 @@
name: Compilations
-on: [push, pull_request]
+on:
+ push:
+ paths-ignore:
+ - 'doc/**'
+ - '**.md'
+ - '**.rdoc'
+ pull_request:
+ paths-ignore:
+ - 'doc/**'
+ - '**.md'
+ - '**.rdoc'
# Github actions does not support YAML anchors. This creative use of
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that