aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-30 17:10:00 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-30 17:13:15 +0900
commit28214231055d3baf3ee4191520736691146e29c1 (patch)
treed588c2a892524a08d29a0785198223176db45d6b /.github
parent00d5b7ce7c2e72170b7f563b9de0e7ac4bc8f772 (diff)
downloadruby-28214231055d3baf3ee4191520736691146e29c1.tar.gz
Run spec_guards only when spec files changed [ci skip]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/spec_guards.yml18
1 files changed, 5 insertions, 13 deletions
diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml
index e3201eb6db..1991e016a3 100644
--- a/.github/workflows/spec_guards.yml
+++ b/.github/workflows/spec_guards.yml
@@ -2,21 +2,13 @@ name: Rubyspec Version Guards Check
on:
push:
- paths-ignore:
- - 'doc/**'
- - '**.md'
- - '**.rdoc'
- - '**/.document'
- - '**.[1-8]'
- - '**.ronn'
+ paths:
+ - 'spec/**'
+ - '!spec/*.md'
pull_request:
paths-ignore:
- - 'doc/**'
- - '**.md'
- - '**.rdoc'
- - '**/.document'
- - '**.[1-8]'
- - '**.ronn'
+ - 'spec/**'
+ - '!spec/*.md'
concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}