Skip to content

Commit

Permalink
Skip AppVeyor and GitHub if only other CI files are changed
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 25, 2023
1 parent 539bef6 commit f4d2fe5
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .appveyor.yml
Expand Up @@ -19,6 +19,8 @@ skip_commits:
- '**/.document'
- '**/*.[1-8]'
- '**/*.ronn'
- '.github/'
- '.travis.yml'
environment:
ruby_version: "25-%Platform%"
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/annocheck.yml
Expand Up @@ -8,20 +8,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/baseruby.yml
Expand Up @@ -8,20 +8,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check_dependencies.yml
Expand Up @@ -7,20 +7,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -9,13 +9,15 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/compilers.yml
Expand Up @@ -8,20 +8,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos.yml
Expand Up @@ -7,6 +7,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
# Do not use paths-ignore for required status checks
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
Expand All @@ -17,6 +18,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/mingw.yml
Expand Up @@ -7,20 +7,26 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rjit-bindgen.yml
Expand Up @@ -7,20 +7,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rjit.yml
Expand Up @@ -8,6 +8,7 @@ on:
- '**/.document'
- '**.[1-8]'
- '**.ronn'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
Expand All @@ -16,6 +17,7 @@ on:
- '**/.document'
- '**.[1-8]'
- '**.ronn'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
Expand All @@ -24,6 +26,7 @@ on:
- '**/.document'
- '**.[1-8]'
- '**.ronn'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu.yml
Expand Up @@ -7,6 +7,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
# Do not use paths-ignore for required status checks
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
Expand All @@ -17,6 +18,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/wasm.yml
Expand Up @@ -7,20 +7,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/windows.yml
Expand Up @@ -7,20 +7,23 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
merge_group:
paths-ignore:
- 'doc/**'
- '**/man'
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/yjit-macos.yml
Expand Up @@ -7,6 +7,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
# Do not use paths-ignore for required status checks
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
Expand All @@ -17,6 +18,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/yjit-ubuntu.yml
Expand Up @@ -7,6 +7,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'
pull_request:
# Do not use paths-ignore for required status checks
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
Expand All @@ -17,6 +18,7 @@ on:
- '**.md'
- '**.rdoc'
- '**/.document'
- '.*.yml'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down

0 comments on commit f4d2fe5

Please sign in to comment.