diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml index d99eaf2f244d9e..cd790b877ec8c0 100644 --- a/.github/workflows/pr-code-format.yml +++ b/.github/workflows/pr-code-format.yml @@ -14,6 +14,9 @@ jobs: code_formatter: runs-on: ubuntu-latest timeout-minutes: 30 + concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true steps: - name: Fetch LLVM sources uses: actions/checkout@v4