Merge pull request #15887 from ahrtr/limit_workflow_readonly_20230513

workflow: grant only read permission to all workflows
This commit is contained in:
Marek Siarkowicz 2023-05-13 09:06:06 +02:00 committed by GitHub
commit ffbaac8305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

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

View File

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