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