From 0a104d9f388f118b7ebef667f4b346d09744e3d0 Mon Sep 17 00:00:00 2001 From: Ethan Troy <63926014+ethanolivertroy@users.noreply.github.com> Date: Thu, 14 May 2026 05:08:17 +0000 Subject: [PATCH] add workflow concurrency controls --- .github/workflows/update-data.yml | 4 ++++ .github/workflows/validate.yml | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 24df0262a..7a96db7d6 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -23,6 +23,10 @@ on: permissions: contents: write +concurrency: + group: update-nist-cmvp-data-${{ github.ref }} + cancel-in-progress: true + jobs: scrape-and-update: runs-on: ubuntu-latest diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7b3c02896..9ca4fe9bf 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -5,11 +5,14 @@ on: push: branches: - main - - 'codex/**' permissions: contents: read +concurrency: + group: validate-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest