mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
remove merge queue skipper (#8819)
This commit is contained in:
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@@ -27,26 +27,9 @@ defaults:
|
||||
shell: 'bash'
|
||||
|
||||
jobs:
|
||||
merge_queue_skipper:
|
||||
name: 'Merge Queue Skipper'
|
||||
runs-on: 'ubuntu-latest'
|
||||
outputs:
|
||||
skip: '${{ steps.skipper.outputs.skip }}'
|
||||
steps:
|
||||
- name: 'Check if skip'
|
||||
id: 'skipper'
|
||||
uses: 'fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf' # ratchet:fkirc/skip-duplicate-actions@v5
|
||||
with:
|
||||
concurrent_skipping: 'never'
|
||||
skip_after_successful_duplicate: 'true'
|
||||
paths_ignore: '["**.md", "docs/**"]'
|
||||
do_not_skip: '["push", "workflow_dispatch", "schedule"]'
|
||||
|
||||
lint:
|
||||
name: 'Lint'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
needs: 'merge_queue_skipper'
|
||||
if: "needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
|
||||
@@ -87,9 +70,7 @@ jobs:
|
||||
name: 'Test (Linux)'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'lint'
|
||||
if: "needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
permissions:
|
||||
contents: 'read'
|
||||
checks: 'write'
|
||||
@@ -146,9 +127,7 @@ jobs:
|
||||
name: 'Slow Test - Mac'
|
||||
runs-on: '${{ matrix.os }}'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'lint'
|
||||
if: "needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
permissions:
|
||||
contents: 'read'
|
||||
checks: 'write'
|
||||
@@ -215,8 +194,6 @@ jobs:
|
||||
codeql:
|
||||
name: 'CodeQL'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
needs: 'merge_queue_skipper'
|
||||
if: "needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
permissions:
|
||||
actions: 'read'
|
||||
contents: 'read'
|
||||
@@ -236,8 +213,7 @@ jobs:
|
||||
# Check for changes in bundle size.
|
||||
bundle_size:
|
||||
name: 'Check Bundle Size'
|
||||
if: "github.event_name == 'pull_request' && needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
needs: 'merge_queue_skipper'
|
||||
if: "github.event_name == 'pull_request'"
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
permissions:
|
||||
contents: 'read' # For checkout
|
||||
@@ -259,8 +235,6 @@ jobs:
|
||||
|
||||
test_windows:
|
||||
name: 'Slow Test - Win'
|
||||
needs: 'merge_queue_skipper'
|
||||
if: "needs.merge_queue_skipper.outputs.skip != 'true'"
|
||||
runs-on: 'gemini-cli-windows-16-core'
|
||||
continue-on-error: true
|
||||
|
||||
@@ -318,7 +292,6 @@ jobs:
|
||||
name: 'CI'
|
||||
if: 'always()'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'lint'
|
||||
- 'test_linux'
|
||||
- 'codeql'
|
||||
|
||||
23
.github/workflows/e2e.yml
vendored
23
.github/workflows/e2e.yml
vendored
@@ -68,15 +68,12 @@ jobs:
|
||||
e2e_linux:
|
||||
name: 'E2E Test (Linux) - ${{ matrix.sandbox }}'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'build'
|
||||
if: |
|
||||
needs.merge_queue_skipper.outputs.skip != 'true' && (
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'merge_group' ||
|
||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||
(github.event.label.name == 'maintainer:e2e:ok')
|
||||
)
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'merge_group' ||
|
||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||
(github.event.label.name == 'maintainer:e2e:ok')
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -134,15 +131,12 @@ jobs:
|
||||
e2e_slow_platforms:
|
||||
name: 'Slow E2E - Mac'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'build'
|
||||
if: |
|
||||
needs.merge_queue_skipper.outputs.skip != 'true' && (
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'merge_group' ||
|
||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||
(github.event.label.name == 'maintainer:e2e:ok')
|
||||
)
|
||||
github.event_name == 'push' ||
|
||||
github.event_name == 'merge_group' ||
|
||||
(github.event.pull_request.head.repo.full_name == github.repository) ||
|
||||
(github.event.label.name == 'maintainer:e2e:ok')
|
||||
runs-on: '${{ matrix.os }}'
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
@@ -260,7 +254,6 @@ jobs:
|
||||
name: 'E2E'
|
||||
if: 'always()'
|
||||
needs:
|
||||
- 'merge_queue_skipper'
|
||||
- 'e2e_linux'
|
||||
runs-on: 'gemini-cli-ubuntu-16-core'
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user