File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
8
+ # Add concurrency to ensure only one workflow runs at a time
9
+ concurrency :
10
+ group : develop-push-${{ github.ref }}
11
+ cancel-in-progress : false
12
+
8
13
# Add permissions needed for GHCR
9
14
permissions :
10
15
contents : read
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
+ # Add concurrency to ensure only one workflow runs at a time
9
+ concurrency :
10
+ group : main-push-${{ github.ref }}
11
+ cancel-in-progress : false
12
+
8
13
# Minimal permissions for test-only workflow
9
14
permissions :
10
15
contents : read
Original file line number Diff line number Diff line change 6
6
- main
7
7
- develop
8
8
9
+ # Add concurrency to ensure only one workflow runs at a time per PR
10
+ concurrency :
11
+ group : pull-request-${{ github.event.pull_request.number || github.ref }}
12
+ cancel-in-progress : true
13
+
9
14
# Add permissions needed for PR comments
10
15
permissions :
11
16
contents : read
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v*.*.*'
7
7
8
+ # Add concurrency to ensure only one release workflow runs at a time
9
+ concurrency :
10
+ group : release-tag-${{ github.ref_name }}
11
+ cancel-in-progress : false
12
+
8
13
# Add permissions needed for GHCR
9
14
permissions :
10
15
contents : read
You can’t perform that action at this time.
0 commit comments