Skip to content

Commit 2cfab01

Browse files
authored
cancel previous build if a new build has been triggered (in the same branch) (#2573)
cancel previous build if a new build has been triggered (in the same branch)
1 parent e4d6a20 commit 2cfab01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/java-examples.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
paths:
1616
- 'examples/java/**'
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
1822
env:
1923
DISPLAY: :99
2024
GITHUB_TOKEN: ${{ secrets.SELENIUM_CI_TOKEN }}

0 commit comments

Comments
 (0)