Skip to content

Commit 0105823

Browse files
ci: change release rules
1 parent 3ae4323 commit 0105823

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
148148
release-cross-chain-governance:
149149
runs-on: ubuntu-22.04
150-
needs: [unit-test, lint]
150+
needs: [unit-test, lint, integration-test-governance, release-governance]
151151
if:
152152
contains('
153153
refs/heads/main
@@ -186,7 +186,7 @@ jobs:
186186
187187
release-external-promos:
188188
runs-on: ubuntu-22.04
189-
needs: [unit-test, lint, release-cross-chain-governance]
189+
needs: [unit-test, lint, release-protocol-reserve]
190190
if:
191191
contains('
192192
refs/heads/main
@@ -225,7 +225,7 @@ jobs:
225225
226226
release-isolated-pools:
227227
runs-on: ubuntu-22.04
228-
needs: [unit-test, lint, integration-test-isolated-pools, release-external-promos]
228+
needs: [unit-test, lint, integration-test-isolated-pools]
229229
if:
230230
contains('
231231
refs/heads/main
@@ -264,13 +264,12 @@ jobs:
264264
265265
release-protocol-reserve:
266266
runs-on: ubuntu-22.04
267-
needs: [unit-test, lint, release-isolated-pools]
267+
needs: [unit-test, lint]
268268
if:
269269
contains('
270270
refs/heads/main
271271
refs/heads/testnet
272-
refs/heads/fix
273-
', github.ref)
272+
', github.ref) || startsWith(github.ref, 'refs/heads/fix/')
274273
steps:
275274
- name: Checkout
276275
uses: actions/checkout@v4
@@ -304,7 +303,7 @@ jobs:
304303
305304
release-core-pool:
306305
runs-on: ubuntu-22.04
307-
needs: [unit-test, lint, integration-test-core-pool, release-protocol-reserve]
306+
needs: [unit-test, lint, integration-test-core-pool]
308307
if:
309308
contains('
310309
refs/heads/main
@@ -343,7 +342,7 @@ jobs:
343342
344343
release-governance:
345344
runs-on: ubuntu-22.04
346-
needs: [unit-test, lint, integration-test-governance, release-core-pool]
345+
needs: [unit-test, lint, integration-test-governance]
347346
if:
348347
contains('
349348
refs/heads/main

subgraphs/protocol-reserve/.releaserc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,12 @@
8585
{
8686
"name": "main"
8787
},
88+
{
89+
"name": "fix/*",
90+
},
8891
{
8992
"name": "testnet",
9093
"prerelease": true
9194
}
9295
]
93-
}
96+
}

0 commit comments

Comments
 (0)