Skip to content

Commit

Permalink
Merge pull request #4069 from ecamp/cd-serialize-deployment
Browse files Browse the repository at this point in the history
deployment-pr.yml: do not deploy the same PR at the same time
  • Loading branch information
BacLuc committed Nov 12, 2023
2 parents 6bcdfbc + 4be3fc3 commit 4d4114f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deployment-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request_target:
types: [opened, reopened, labeled, synchronize]

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

jobs:
build-and-push:
if: contains(github.event.pull_request.labels.*.name, 'deploy!')
Expand Down

0 comments on commit 4d4114f

Please sign in to comment.