workflow: grant only read permission to all workflows

Signed-off-by: Benjamin Wang <wachao@vmware.com>
dependabot/go_modules/github.com/prometheus/procfs-0.11.0
Benjamin Wang 2023-05-13 13:53:22 +08:00
parent 2fd86a12a9
commit 2bf495d93b
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
name: Go version setup
permissions: read-all
on:
workflow_call:

View File

@ -2,6 +2,7 @@ name: Tests-arm64
on:
schedule:
- cron: '30 1 * * *' # runs daily at 1:30 am.
permissions: read-all
jobs:
goversion:
uses: ./.github/workflows/go-version.yaml