ci: declare read-only workflow token permissions (#31836)

This commit is contained in:
Neil
2026-10-21 22:17:05 -07:00
committed by GitHub
parent aa5594d536
commit f9c9cedad3
7 changed files with 21 additions and 0 deletions
+3
View File
@@ -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
+3
View File
@@ -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
+3
View File
@@ -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
+3
View File
@@ -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