mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
fix(infra) - Remove e2e maintainer label from e2e workflow (#11028)
Co-authored-by: shishu314 <shishu_1998@yahoo.com>
This commit is contained in:
+10
-12
@@ -9,9 +9,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'release/**'
|
- 'release/**'
|
||||||
# This will run for PRs from forks when a label is added.
|
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: ['labeled']
|
|
||||||
merge_group:
|
merge_group:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
@@ -46,8 +44,8 @@ jobs:
|
|||||||
(github.event_name == 'push' ||
|
(github.event_name == 'push' ||
|
||||||
github.event_name == 'merge_group' ||
|
github.event_name == 'merge_group' ||
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||||
(github.event.label.name == 'maintainer:e2e:ok'))
|
(github.event_name == 'pull_request_target'))
|
||||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -108,8 +106,8 @@ jobs:
|
|||||||
(github.event_name == 'push' ||
|
(github.event_name == 'push' ||
|
||||||
github.event_name == 'merge_group' ||
|
github.event_name == 'merge_group' ||
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||||
(github.event.label.name == 'maintainer:e2e:ok'))
|
(github.event_name == 'pull_request_target'))
|
||||||
runs-on: 'macos-latest'
|
runs-on: 'macos-latest'
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout (fork)'
|
- name: 'Checkout (fork)'
|
||||||
@@ -157,8 +155,8 @@ jobs:
|
|||||||
(github.event_name == 'push' ||
|
(github.event_name == 'push' ||
|
||||||
github.event_name == 'merge_group' ||
|
github.event_name == 'merge_group' ||
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||||
(github.event.label.name == 'maintainer:e2e:ok'))
|
(github.event_name == 'pull_request_target'))
|
||||||
runs-on: 'gemini-cli-windows-16-core'
|
runs-on: 'gemini-cli-windows-16-core'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
@@ -227,8 +225,8 @@ jobs:
|
|||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
github.event_name == 'merge_group' ||
|
github.event_name == 'merge_group' ||
|
||||||
github.event_name == 'workflow_dispatch' ||
|
github.event_name == 'workflow_dispatch' ||
|
||||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||||
(github.event.label.name == 'maintainer:e2e:ok')
|
(github.event_name == 'pull_request_target')
|
||||||
)
|
)
|
||||||
needs:
|
needs:
|
||||||
- 'e2e_linux'
|
- 'e2e_linux'
|
||||||
@@ -237,8 +235,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 'Check E2E test results'
|
- name: 'Check E2E test results'
|
||||||
run: |
|
run: |
|
||||||
if [[ (${{ needs.e2e_linux.result }} != 'success' && ${{ needs.e2e_linux.result }} != 'skipped') || \
|
if [[ ${{ needs.e2e_linux.result }} != 'success' || \
|
||||||
(${{ needs.e2e_mac.result }} != 'success' && ${{ needs.e2e_mac.result }} != 'skipped') ]]; then
|
${{ needs.e2e_mac.result }} != 'success' ]]; then
|
||||||
echo "One or more E2E jobs failed."
|
echo "One or more E2E jobs failed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user