mirror of
https://github.com/traefik/traefik.git
synced 2026-06-17 19:09:29 +03:00
ci: declare workflow-level contents: read on the 9 build/test workflows
This commit is contained in:
@@ -12,6 +12,9 @@ on:
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
build-webui:
|
||||
|
||||
@@ -8,6 +8,9 @@ on:
|
||||
- '.github/workflows/check_doc.yaml'
|
||||
- 'docs/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
docs:
|
||||
|
||||
@@ -11,6 +11,9 @@ env:
|
||||
STRUCTOR_VERSION: v1.13.2
|
||||
MIXTUS_VERSION: v0.4.1
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
docs:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -9,6 +9,9 @@ on:
|
||||
- '**.md'
|
||||
- 'script/gcg/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
generate-packages:
|
||||
name: List Go Packages
|
||||
|
||||
@@ -9,6 +9,9 @@ env:
|
||||
GOLANGCI_LINT_VERSION: v2.10.1
|
||||
MISSPELL_VERSION: v0.7.0
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
lint:
|
||||
|
||||
Reference in New Issue
Block a user