Skip to content

Commit 2367858

Browse files
committed
ci: declare contents: read on mock-nvml-e2e and tests
Both workflows are read-only: mock-nvml-e2e spins up a kind cluster with DRA and runs BATS suites; tests.yaml is a placeholder that documents the Prow-driven flow. No API writes.
1 parent c087890 commit 2367858

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/mock-nvml-e2e.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ on:
3434
push:
3535
branches: [main]
3636

37+
permissions:
38+
contents: read
39+
3740
jobs:
3841
mock-gpu-e2e:
3942
runs-on: ubuntu-latest

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ name: tests
1818
on:
1919
workflow_dispatch:
2020

21+
permissions:
22+
contents: read
23+
2124
jobs:
2225
skipped:
2326
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)