Skip to content

Commit 512f6b2

Browse files
authored
[OGUI-1894] Stop existing ongoing workflows for newly updated branch (#3454)
* Disable Configuration and Tokenisation deps updates * Add option to stop any existing runs for a newly updated branch
1 parent 60edcdc commit 512f6b2

7 files changed

Lines changed: 43 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "monthly"
7+
labels:
8+
- "github-actions"
9+
- "dependencies"
10+
open-pull-requests-limit: 3
711
- package-ecosystem: npm
812
directory: "/Control"
913
schedule:
@@ -117,3 +121,24 @@ updates:
117121
ignore:
118122
- dependency-name: "*"
119123
update-types: ["version-update:semver-patch"]
124+
# projects below are currently archived and not set up for maintenance
125+
- package-ecosystem: npm
126+
directory: "/Configuration/webapp"
127+
schedule:
128+
interval: weekly
129+
open-pull-requests-limit: 0
130+
- package-ecosystem: npm
131+
directory: "/Tokenization/backend/central-system"
132+
schedule:
133+
interval: weekly
134+
open-pull-requests-limit: 0
135+
- package-ecosystem: npm
136+
directory: "/Tokenization/backend/wrapper"
137+
schedule:
138+
interval: weekly
139+
open-pull-requests-limit: 0
140+
- package-ecosystem: npm
141+
directory: "/Tokenization/webapp"
142+
schedule:
143+
interval: weekly
144+
open-pull-requests-limit: 0

.github/workflows/configuration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
branches:
99
- 'main'
1010
- 'dev'
11-
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1214
jobs:
1315
formatting-check:
1416
name: Check prettier formatting rules on ubuntu-latest

.github/workflows/control.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
branches:
99
- 'main'
1010
- 'dev'
11-
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1214
jobs:
1315
test:
1416
name: Tests on macos-latest

.github/workflows/framework.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
branches:
1010
- 'main'
1111
- 'dev'
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
1215
jobs:
1316
test:
1417
name: Tests on macos-latest

.github/workflows/infologger.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- 'main'
1010
- 'dev'
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1114
jobs:
1215
test:
1316
name: Tests on ubuntu-latest

.github/workflows/qc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
branches:
99
- 'main'
1010
- 'dev'
11-
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1214
jobs:
1315
lint-check:
1416
name: Check eslint rules on ubuntu-latest

.github/workflows/tokenization.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
push:
88
branches:
99
- 'dev'
10-
10+
concurrency:
11+
group: central-${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
1113
jobs:
1214
lint-check-backend:
1315
name: Check eslint rules for backend on ubuntu-latest

0 commit comments

Comments
 (0)