Skip to content

Commit

Permalink
Update GitHub Actions workflow: change CI skip condition to pull requ…
Browse files Browse the repository at this point in the history
…est body and reduce Ruby version matrix
  • Loading branch information
elalemanyo committed Oct 8, 2024
1 parent e168558 commit 14fb671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14fb671

Please sign in to comment.