From b27877fed956a6665fee9d51c6c8e4a22b755116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Mari=C4=87?= Date: Wed, 1 Oct 2025 21:54:48 +0200 Subject: [PATCH] fix(ci): do not run both push and pull_request pipelines --- .github/workflows/ci-cd.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 98e6a15..132f619 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -1,6 +1,14 @@ name: Ruby CI/CD -on: [push, pull_request] +on: + push: + tags: + - '*' + pull_request: + types: + - opened + - synchronize + - reopened permissions: {} jobs: @@ -42,7 +50,7 @@ jobs: run: bundle exec rake Integration_tests: - if: github.event_name == 'push' + if: github.repository == 'tinify/tinify-ruby' runs-on: ${{ matrix.os }} timeout-minutes: 10 needs: Unit_tests