From 384087d7c2d3c65b5c66932d3498241f7a9dc8ae Mon Sep 17 00:00:00 2001 From: Sandeep Tiwari Date: Wed, 4 Feb 2026 18:38:13 +0530 Subject: [PATCH] optimised CI run --- .github/workflows/ci_steps.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_steps.yml b/.github/workflows/ci_steps.yml index bb09155..99b02d4 100644 --- a/.github/workflows/ci_steps.yml +++ b/.github/workflows/ci_steps.yml @@ -5,7 +5,14 @@ # This workflow will install a prebuilt Ruby version, install dependencies, and # run tests and linters. name: "Frederick API Gem CI" -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true env: RUBY_VERSION: 2.4.3 @@ -47,4 +54,4 @@ jobs: bundler-cache: true - name: Lint Ruby files - run: bundle exec rubocop \ No newline at end of file + run: bundle exec rubocop