ci: declare workflow-level contents: read on the 9 build/test workflows

This commit is contained in:
Arpit Jain
2026-06-15 22:12:07 +09:00
committed by GitHub
parent 4ccedcb639
commit bf20c4f7f3
9 changed files with 27 additions and 0 deletions
+3
View File
@@ -12,6 +12,9 @@ on:
env:
CGO_ENABLED: 0
permissions:
contents: read
jobs:
build-webui:
+3
View File
@@ -8,6 +8,9 @@ on:
- '.github/workflows/check_doc.yaml'
- 'docs/**'
permissions:
contents: read
jobs:
docs:
+3
View File
@@ -11,6 +11,9 @@ env:
STRUCTOR_VERSION: v1.13.2
MIXTUS_VERSION: v0.4.1
permissions:
contents: read
jobs:
docs:
+3
View File
@@ -9,6 +9,9 @@ on:
env:
CGO_ENABLED: 0
permissions:
contents: read
jobs:
build-webui:
@@ -14,6 +14,9 @@ on:
env:
CGO_ENABLED: 0
permissions:
contents: read
jobs:
test-gateway-api-conformance:
+3
View File
@@ -12,6 +12,9 @@ on:
env:
CGO_ENABLED: 0
permissions:
contents: read
jobs:
build:
@@ -14,6 +14,9 @@ on:
env:
CGO_ENABLED: 0
permissions:
contents: read
jobs:
test-knative-conformance:
+3
View File
@@ -9,6 +9,9 @@ on:
- '**.md'
- 'script/gcg/**'
permissions:
contents: read
jobs:
generate-packages:
name: List Go Packages
+3
View File
@@ -9,6 +9,9 @@ env:
GOLANGCI_LINT_VERSION: v2.10.1
MISSPELL_VERSION: v0.7.0
permissions:
contents: read
jobs:
lint: