Skip to content

Commit 688427d

Browse files
mattKorwelnagendrareddy10
authored andcommitted
support label on pushes too (google-gemini#8831)
1 parent 62a6462 commit 688427d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
github.event_name == 'push' ||
5757
github.event_name == 'merge_group' ||
5858
(github.event.pull_request.head.repo.full_name == github.repository) ||
59-
(github.event.label.name == 'maintainer:e2e:ok')
59+
(github.event.label.name == 'maintainer:e2e:ok') ||
60+
(contains(github.event.pull_request.labels.*.name, 'maintainer:e2e:ok'))
6061
runs-on: 'gemini-cli-ubuntu-16-core'
6162
strategy:
6263
fail-fast: false
@@ -119,7 +120,8 @@ jobs:
119120
github.event_name == 'push' ||
120121
github.event_name == 'merge_group' ||
121122
(github.event.pull_request.head.repo.full_name == github.repository) ||
122-
(github.event.label.name == 'maintainer:e2e:ok')
123+
(github.event.label.name == 'maintainer:e2e:ok') ||
124+
(contains(github.event.pull_request.labels.*.name, 'maintainer:e2e:ok'))
123125
runs-on: '${{ matrix.os }}'
124126
continue-on-error: true
125127
strategy:
@@ -177,7 +179,8 @@ jobs:
177179
github.event_name == 'push' ||
178180
github.event_name == 'merge_group' ||
179181
(github.event.pull_request.head.repo.full_name == github.repository) ||
180-
(github.event.label.name == 'maintainer:e2e:ok')
182+
(github.event.label.name == 'maintainer:e2e:ok') ||
183+
(contains(github.event.pull_request.labels.*.name, 'maintainer:e2e:ok'))
181184
runs-on: 'gemini-cli-windows-16-core'
182185
continue-on-error: true
183186

0 commit comments

Comments
 (0)