diff --git a/.github/workflows/on-demand.yml b/.github/workflows/on-demand.yml index 33fdc4a..650873f 100644 --- a/.github/workflows/on-demand.yml +++ b/.github/workflows/on-demand.yml @@ -13,7 +13,10 @@ on: required: true type: string -# TODO: add concurrency check to cancel in-progress builds +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest