From 129ca031281ad5ddb5c00ef05c66982db6d2eef0 Mon Sep 17 00:00:00 2001 From: David Pitoniak <84917393+pitoniak32@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:38:29 -0500 Subject: [PATCH] feat: add concurrency options to ci workflow (#2337) --- .github/workflows/ci.yml | 3 +++ .github/workflows/semver.yml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd0b2e11e..a68e1246c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,9 @@ on: - main paths-ignore: - '**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test: strategy: diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index ed61eb4556..caf85c03d3 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -4,7 +4,6 @@ env: on: pull_request: types: [ labeled, synchronize, opened, reopened ] - jobs: semver-compliance: # This job uses the latest published crate as baseline for comparison. runs-on: ubuntu-latest