Skip to content

Commit

Permalink
add concurrency block to deploy test stand workflow #132
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Oct 12, 2023
1 parent d128ff4 commit f12e71e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ on:
default: ''
type: string

concurrency:
group: ${{
( github.ref == 'refs/heads/master' &&
format('{0}/{1}', github.run_id, github.run_attempt) )
||
format('{0}/{1}', github.workflow, github.ref) }}
cancel-in-progress: true

jobs:
build:
uses: ./.github/workflows/build.yaml
Expand Down

0 comments on commit f12e71e

Please sign in to comment.