diff --git a/.github/workflows/warden.yml b/.github/workflows/warden.yml index 8eb2b2c..26c71bb 100644 --- a/.github/workflows/warden.yml +++ b/.github/workflows/warden.yml @@ -1,9 +1,14 @@ name: Warden +# Update the concurrency group below if this workflow adds non-PR triggers. on: pull_request: types: [opened, synchronize, reopened] +concurrency: + group: ${{ github.workflow }}-pr-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: warden: if: github.event.pull_request.head.repo.full_name == github.repository