From 14fb671575f78e7d91f9ca7fec1ce8ad851a160c Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 8 Oct 2024 10:59:34 +0200 Subject: [PATCH] Update GitHub Actions workflow: change CI skip condition to pull request body and reduce Ruby version matrix --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b297059..9da4d49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,11 @@ on: - main jobs: build: - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: !contains(github.event.pull_request.body, '[skip ci]') runs-on: ubuntu-latest strategy: matrix: - ruby: [ '2.6', '3.0', '3.2', '3.3.4', '3.3.5' ] + ruby: [ '3.0', '3.3.4', '3.3.5' ] steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1