Skip to content

Commit

Permalink
Use concurrency in CI (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
omidasadpour authored Aug 8, 2023
1 parent 2d2c2d5 commit 2fad6ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- closed
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
IMAGE: dappforce/subsocial-parachain
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fad6ce

Please sign in to comment.