MOBILE-4497 github: Add concurrency to cancel previous ongoing pushes
parent
f5d31d8eb4
commit
64d692aec2
|
@ -16,6 +16,11 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, v*.x ]
|
branches: [ main, v*.x ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: acceptance-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -2,6 +2,10 @@ name: Testing
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: testing-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue