Skip to content

Commit

Permalink
[+] add concurrency clause to GHA workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Dec 28, 2023
1 parent f330838 commit b708ea7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -2,6 +2,10 @@ name: Build & Test
on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

test-docker-images:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Expand Up @@ -11,6 +11,10 @@ on:
- 'master'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
docker:
if: true # false to skip job during debug
Expand Down

0 comments on commit b708ea7

Please sign in to comment.