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