Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -318,7 +292,6 @@ jobs:
name: 'CI'
if: 'always()'
needs:
- 'merge_queue_skipper'
- 'lint'
- 'test_linux'
- 'codeql'
Expand Down
23 changes: 8 additions & 15 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -260,7 +254,6 @@ jobs:
name: 'E2E'
if: 'always()'
needs:
- 'merge_queue_skipper'
- 'e2e_linux'
runs-on: 'gemini-cli-ubuntu-16-core'
steps:
Expand Down
Loading