diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 23df9441..9651dfd9 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -11,6 +11,9 @@ on: - closed branches: - main +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true env: IMAGE: dappforce/subsocial-parachain diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index f658d5f1..acc018dc 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -5,6 +5,10 @@ on: push: branches: [ "main", "feature/*" ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test-code: # runs-on: ubuntu-20.04