mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
# .github/workflows/pr-checks.yml
|
|
name: 'PR Checks'
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
merge_group:
|
|
|
|
permissions:
|
|
contents: 'read'
|
|
packages: 'write'
|
|
pull-requests: 'write'
|
|
security-events: 'write'
|
|
checks: 'write'
|
|
statuses: 'write'
|
|
actions: 'read'
|
|
attestations: 'read'
|
|
deployments: 'read'
|
|
discussions: 'read'
|
|
issues: 'read'
|
|
models: 'read'
|
|
pages: 'read'
|
|
repository-projects: 'read'
|
|
id-token: 'write'
|
|
|
|
concurrency:
|
|
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
name: 'Build and Publish CI Bundle'
|
|
uses: './.github/workflows/build-and-publish.yml'
|
|
|
|
ci:
|
|
name: 'CI Checks'
|
|
needs: 'build-and-publish'
|
|
uses: './.github/workflows/ci.yml'
|
|
with:
|
|
tag: '${{ needs.build-and-publish.outputs.tag }}'
|
|
|
|
e2e:
|
|
name: 'E2E Checks'
|
|
needs: 'build-and-publish'
|
|
uses: './.github/workflows/e2e.yml'
|
|
with:
|
|
tag: '${{ needs.build-and-publish.outputs.tag }}'
|