ci: restrict workflow permissions

This commit is contained in:
Zen Dodd committed 2026-08-15 17:15:49 +10:00
1 parent ebfadde688
commit b9f926818e
15 files changed
+45

No files matched your search

+3
View File
@@ -24,6 +24,9 @@ on:
schedule:
- cron: '42 8 * * *'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
@@ -28,6 +28,9 @@ on:
- cron: '42 8 * * 1'
workflow_dispatch:
permissions:
contents: read
env:
# Minimum supported API level. 24 (Android 7.0) runs on every modern
# phone while keeping broad reach; bump if you need newer Bionic APIs.
+3
View File
@@ -23,6 +23,9 @@ on:
- cron: '42 9 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
asan:
runs-on: ubuntu-latest
+3
View File
@@ -19,6 +19,9 @@ on:
- cron: '42 9 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * *'
permissions:
contents: read
jobs:
test:
runs-on: windows-2022
+3
View File
@@ -31,6 +31,9 @@ on:
schedule:
- cron: '17 7 * * 1'
permissions:
contents: read
jobs:
fleettest:
runs-on: ubuntu-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * 1'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * *'
permissions:
contents: read
jobs:
test:
runs-on: macos-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * 1'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * 1'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
+3
View File
@@ -17,6 +17,9 @@ on:
- '!.github/workflows/scan-build.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
# GATING run: pinned clang-18 on a pinned runner so the checker set -- and
# thus the expected zero -- is deterministic. The tree is kept clean for
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * 1'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
+3
View File
@@ -18,6 +18,9 @@ on:
schedule:
- cron: '42 8 * * *'
permissions:
contents: read
jobs:
test:
strategy:
+3
View File
@@ -39,6 +39,9 @@ on:
schedule:
- cron: '52 8 * * 1'
permissions:
contents: read
jobs:
version-mix:
runs-on: ubuntu-latest
+3
View File
@@ -19,6 +19,9 @@ on:
- cron: '17 4 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
memcheck:
runs-on: ubuntu-latest