Skip to content

Commit

Permalink
ci: cancel previous workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Oct 13, 2023
1 parent bf149cf commit 2d14777
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: [ main ]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build_docker:
name: Build docker
Expand Down

0 comments on commit 2d14777

Please sign in to comment.