Files
gemini-cli/.github/workflows/orchestrator.yml
T
mkorwel f6727cc14f fix(workflows): Add packages:read permission and rename orchestrator
Adds 'packages: read' permission to the 'ci.yml' and 'e2e.yml' workflows. This is necessary to allow the jobs to download packages from the GitHub Packages registry, fixing the 403 Forbidden error during 'npm install'.

Also renames the 'orchestrator.yml' workflow from 'PR Checks' to 'Checks' for brevity.
2025-10-21 21:48:31 -07:00

45 lines
917 B
YAML

# .github/workflows/pr-checks.yml
name: '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'
pages: 'read'
repository-projects: 'read'
id-token: 'write'
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:
version: '${{ needs.build-and-publish.outputs.version }}'
e2e:
name: 'E2E Checks'
needs: 'build-and-publish'
uses: './.github/workflows/e2e.yml'
with:
version: '${{ needs.build-and-publish.outputs.version }}'