diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1bc46058d..498ad2d065 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + permissions: id-token: write security-events: write