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