From 25a530d773094bfd305a58e63cc06edb72e6eaae Mon Sep 17 00:00:00 2001 From: Craig Edwards Date: Wed, 4 Oct 2023 10:16:12 +0000 Subject: [PATCH] cancel older --- .github/workflows/test-docs-examples.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-docs-examples.yml b/.github/workflows/test-docs-examples.yml index 042e08d584..3a4d0a6688 100644 --- a/.github/workflows/test-docs-examples.yml +++ b/.github/workflows/test-docs-examples.yml @@ -19,7 +19,10 @@ jobs: test_docs_examples: name: Test build examples runs-on: ubuntu-22.04 - + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + steps: - name: Harden Runner uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1