Skip to content

Commit db31aeb

Browse files
authored
ci: remove spectrum-two from automated VRT runs (#2565)
1 parent 98f83b7 commit db31aeb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/development.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ jobs:
138138
# -------------------------------------------------------------
139139
vrt:
140140
name: Testing
141-
if: ${{ contains(github.event.pull_request.labels.*.name, 'run_vrt') || ((github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'run_ci')) && github.event.pull_request.mergeable == true) }}
141+
if: contains(github.event.pull_request.labels.*.name, 'run_vrt') || ((github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'run_ci')) && github.event.pull_request.mergeable == true)
142142
uses: ./.github/workflows/vrt.yml
143143
with:
144-
skip: ${{ contains(github.event.pull_request.labels.*.name, 'skip_vrt') }}
144+
skip: ${{ github.base_ref == 'spectrum-two' || contains(github.event.pull_request.labels.*.name, 'skip_vrt') }}
145145
secrets: inherit
146146

147147
# -------------------------------------------------------------

.github/workflows/production.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
name: Testing
6565
needs: [build]
6666
uses: ./.github/workflows/vrt.yml
67+
with:
68+
skip: ${{ github.base_ref != 'main' }}
6769
secrets: inherit
6870

6971
# -------------------------------------------------------------

0 commit comments

Comments
 (0)