Skip to content

Commit 1811194

Browse files
committed
add concurrency rules for GH workflows
1 parent db7e13f commit 1811194

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
name: Build, tests & soundness checks
22

3-
on: [pull_request, workflow_dispatch]
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
workflow_dispatch:
47

58
permissions: read-all
69

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
714
jobs:
815
swift-bedrock-library-build:
916
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)