diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml index 1a1700b75cfdb..f2bb37316d3a8 100644 --- a/.github/workflows/pr-code-format.yml +++ b/.github/workflows/pr-code-format.yml @@ -13,6 +13,9 @@ jobs: code_formatter: runs-on: ubuntu-latest timeout-minutes: 30 + concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true if: github.repository == 'llvm/llvm-project' steps: - name: Fetch LLVM sources