Skip to content

Commit 1862eff

Browse files
committed
Forbedring rundt concurrency
1 parent 5a94edc commit 1862eff

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/buildAndPublish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
SF_DEVHUB_URL:
66
required: true
77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
9-
cancel-in-progress: true
8+
group: ${{ github.workflow }}-${{ github.ref_name }}
109
jobs:
1110
checkChanges:
1211
name: Check changes

.github/workflows/ciStaticCodeValidation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: "Run static code validation"
22
on:
3-
# push:
43
workflow_call:
54
inputs:
65
validateEntireRepo:

.github/workflows/onPullRequest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: On PULL REQUEST
22
on:
33
pull_request:
4+
concurrency:
5+
group: ci-${{ github.ref_name }}
6+
cancel-in-progress: true
47
jobs:
58
staticCodeValidation:
69
name: Validation jobs

.github/workflows/onPush.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: On PUSH
22
on:
33
push:
4+
concurrency:
5+
group: ci-${{ github.ref_name }}
6+
cancel-in-progress: ${{ github.ref_name != 'main' }}
47
jobs:
58
staticCodeValidation:
69
name: Validation jobs

0 commit comments

Comments
 (0)