diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d81ad3f..10e74be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ on: branches: - "main" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: name: build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4987615..e0e9cf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,10 @@ on: branches: - "main" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: hadolint: name: hadolint