[Github] Cancel previous in-progress code formatting jobs (#106701)

This commit is contained in:
Aiden Grossman 2024-08-30 14:43:15 -07:00 committed by GitHub
parent 02654f7370
commit 1293ab35e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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