From a9ece512d83baf319b4ade8491704f31552cc7b2 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Tue, 30 Jan 2024 13:21:32 -0800 Subject: [PATCH] Add concurrency to PR Continuous Integration This will stop previous runs if we've pushed up changes to our PR. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55dd456241..0973457c51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request + cancel-in-progress: true # Cancel any previous runs of this workflow + jobs: run_rubocop: runs-on: ubuntu-22.04