mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #15887 from ahrtr/limit_workflow_readonly_20230513
workflow: grant only read permission to all workflows
This commit is contained in:
commit
ffbaac8305
1
.github/workflows/go-version.yaml
vendored
1
.github/workflows/go-version.yaml
vendored
@ -1,4 +1,5 @@
|
|||||||
name: Go version setup
|
name: Go version setup
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
1
.github/workflows/tests-arm64.yaml
vendored
1
.github/workflows/tests-arm64.yaml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user