From 74c1e2bbe11df72ab727e37e312dcef353930fa3 Mon Sep 17 00:00:00 2001 From: elasticspoon Date: Thu, 20 Jun 2024 20:00:34 -0400 Subject: [PATCH] feat: add timeout and concurrency limit to rspec GH action --- .github/workflows/rspec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index e173441aff..35099a5682 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -10,10 +10,14 @@ on: pull_request: branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: rspec: runs-on: ubuntu-latest + timeout-minutes: 20 env: RAILS_ENV: test