mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
github/workflows: set top-level file permissions
The gh-workflow-approve and tests_windows actions didnt't specify top-level permissions. This is an improvement towards having a better OpenSSF Scorecard Report score. Signed-off-by: Ivan Valdes <ivan@vald.es>
This commit is contained in:
parent
b87f244ec2
commit
83aba89820
2
.github/workflows/gh-workflow-approve.yaml
vendored
2
.github/workflows/gh-workflow-approve.yaml
vendored
@ -1,6 +1,6 @@
|
||||
---
|
||||
name: Approve GitHub Workflows
|
||||
|
||||
permissions: read-all
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
|
1
.github/workflows/tests_windows.yml
vendored
1
.github/workflows/tests_windows.yml
vendored
@ -1,6 +1,7 @@
|
||||
---
|
||||
name: Tests
|
||||
on: [push, pull_request]
|
||||
permissions: read-all
|
||||
jobs:
|
||||
test-windows:
|
||||
strategy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user