diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows/libcxx-build-and-test.yaml index c46a8c3c2b8d..2e6ff7f91b6f 100644 --- a/.github/workflows/libcxx-build-and-test.yaml +++ b/.github/workflows/libcxx-build-and-test.yaml @@ -29,6 +29,10 @@ on: permissions: contents: read # Default everything to read-only +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: stage1: if: github.repository_owner == 'llvm' diff --git a/.github/workflows/libcxx-run-benchmarks.yml b/.github/workflows/libcxx-run-benchmarks.yml index 6ca49d0f04dc..63763ba58e7d 100644 --- a/.github/workflows/libcxx-run-benchmarks.yml +++ b/.github/workflows/libcxx-run-benchmarks.yml @@ -23,10 +23,6 @@ env: CXX: clang++-22 COMMENT_BODY: ${{ github.event.comment.body }} -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number }} - cancel-in-progress: true - jobs: run-benchmarks: if: >-