mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
ci: declare read-only workflow token permissions (#31836)
This commit is contained in:
@@ -68,6 +68,9 @@ concurrency:
|
||||
group: computer-e2e-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
native-smoke:
|
||||
if: github.event_name == 'pull_request' && github.event.pull_request.draft != true
|
||||
|
||||
@@ -8,6 +8,9 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
golden-e2e:
|
||||
name: golden e2e ${{ matrix.platform }} experiment
|
||||
|
||||
@@ -3,6 +3,9 @@ name: Linux Wayland GPU Sandbox
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
name: wayland terminal input
|
||||
|
||||
@@ -23,6 +23,9 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ios-build:
|
||||
# GitHub-hosted macOS runner: required for Xcode. Expo SDK 55's
|
||||
|
||||
@@ -97,6 +97,9 @@ concurrency:
|
||||
group: mobile-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
name: Mobile verify
|
||||
|
||||
@@ -27,6 +27,9 @@ concurrency:
|
||||
group: skill-roundtrip-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
roundtrip:
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.draft != true
|
||||
|
||||
@@ -48,6 +48,9 @@ on:
|
||||
# terminal throughput regressions are caught before users report typing lag.
|
||||
- cron: '30 8 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
terminal-perf:
|
||||
name: terminal scale perf
|
||||
|
||||
Reference in New Issue
Block a user